Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10ef737

Browse files
tamasvajkigfoo
authored andcommitted
Adjust kotlin CI job
1 parent 953c6fd commit 10ef737

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/test-kotlin.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,29 @@ jobs:
4444
git checkout FETCH_HEAD
4545
# needed so that `git describe --all` works during the build
4646
git tag "custom-qlSubmoduleSha-${QL_SUBMODULE_SHA}"
47-
47+
4848
- name: Setup dotnet
4949
uses: actions/setup-dotnet@v1
5050
with:
5151
dotnet-version: |
5252
5.0.303
5353
5.0.404
5454
6.0.101
55-
55+
5656
- name: Prepare - Linux
5757
uses: ./.github/actions/prepare-linux
5858

59-
- name: Build
59+
- name: Build - Unit tests
60+
shell: bash
61+
run: |
62+
./build -j2 target/test/java/results.xml TESTSUITE_FLAGS+=ql/java/ql/test/kotlin 'TESTSUITE_FLAGS+=#'
63+
64+
- name: Build - Integration tests - Posix
65+
shell: bash
66+
run: |
67+
./build -j2 target/test/codeql-integration-tests/results.xml 'LANG_TESTSUITE_FLAGS+=--test-dir integration-tests/posix-only/kotlin'
68+
69+
- name: Build - Integration tests - Linux
6070
shell: bash
6171
run: |
62-
./build -j2 target/test/codeql-integration-tests/results.xml target/test/java/results.xml TESTSUITE_FLAGS+=ql/java/ql/test/kotlin 'TESTSUITE_FLAGS+=#' 'LANG_TESTSUITE_FLAGS+=--test-dir integration-tests/all-platforms/kotlin'
72+
./build -j2 target/test/codeql-integration-tests/results.xml 'LANG_TESTSUITE_FLAGS+=--test-dir integration-tests/linux-only/kotlin'

0 commit comments

Comments
 (0)