mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Break up QL CI tests into separatly named steps
This commit is contained in:
9
.github/workflows/qltest.yml
vendored
9
.github/workflows/qltest.yml
vendored
@@ -30,7 +30,8 @@ jobs:
|
||||
- name: Build Extractor
|
||||
run: env "PATH=$PATH:${{ github.workspace }}/codeql" ./create-extractor-pack.sh
|
||||
- name: Run QL tests
|
||||
run: |
|
||||
codeql/codeql test run --check-databases --check-unused-labels --search-path "${{ github.workspace }}" --consistency-queries ql/consistency-queries ql/test
|
||||
find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql/codeql query format --check-only
|
||||
codeql/codeql query compile --check-only --threads=4 --warnings=error --search-path "${{ github.workspace }}" "ql/src" "ql/examples"
|
||||
run: codeql/codeql test run --check-databases --check-unused-labels --search-path "${{ github.workspace }}" --consistency-queries ql/consistency-queries ql/test
|
||||
- name: Check QL formatting
|
||||
run: find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql/codeql query format --check-only
|
||||
- name: Check QL compilation
|
||||
run: codeql/codeql query compile --check-only --threads=4 --warnings=error --search-path "${{ github.workspace }}" "ql/src" "ql/examples"
|
||||
|
||||
Reference in New Issue
Block a user