Add all the TRAP check flags in qltest workflow

This commit is contained in:
Nick Rolfe
2020-12-18 17:25:28 +00:00
parent dddf0a66d9
commit 5a54026bcc

View File

@@ -31,7 +31,7 @@ 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
run: codeql/codeql test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --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