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

Skip to content

Commit eceeb6a

Browse files
committed
Break up QL CI tests into separatly named steps
1 parent 966e1cd commit eceeb6a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/qltest.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
- name: Build Extractor
3131
run: env "PATH=$PATH:${{ github.workspace }}/codeql" ./create-extractor-pack.sh
3232
- name: Run QL tests
33-
run: |
34-
codeql/codeql test run --check-databases --check-unused-labels --search-path "${{ github.workspace }}" --consistency-queries ql/consistency-queries ql/test
35-
find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql/codeql query format --check-only
36-
codeql/codeql query compile --check-only --threads=4 --warnings=error --search-path "${{ github.workspace }}" "ql/src" "ql/examples"
33+
run: codeql/codeql test run --check-databases --check-unused-labels --search-path "${{ github.workspace }}" --consistency-queries ql/consistency-queries ql/test
34+
- name: Check QL formatting
35+
run: find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql/codeql query format --check-only
36+
- name: Check QL compilation
37+
run: codeql/codeql query compile --check-only --threads=4 --warnings=error --search-path "${{ github.workspace }}" "ql/src" "ql/examples"

0 commit comments

Comments
 (0)