@@ -49,23 +49,23 @@ jobs:
4949 - name : Cache compilation cache
5050 id : query-cache
5151 uses : ./.github/actions/cache-query-compilation
52- with :
52+ with :
5353 key : ql-for-ql-tests
5454 - name : Run QL tests
5555 run : |
56- "${CODEQL}" test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path "${{ github.workspace }}/ql/extractor-pack " --consistency-queries ql/ql/consistency-queries --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" ql/ql/test
56+ "${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/ql/consistency-queries --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" ql/ql/test
5757 env :
5858 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
5959
60- other-os :
60+ other-os :
6161 strategy :
6262 matrix :
6363 os : [macos-latest, windows-latest]
6464 needs : [qltest]
6565 runs-on : ${{ matrix.os }}
6666 steps :
6767 - uses : actions/checkout@v4
68- - name : Install GNU tar
68+ - name : Install GNU tar
6969 if : runner.os == 'macOS'
7070 run : |
7171 brew install gnu-tar
@@ -100,13 +100,12 @@ jobs:
100100 - name : Run a single QL tests - Unix
101101 if : runner.os != 'Windows'
102102 run : |
103- "${CODEQL}" test run --check-databases --search-path "${{ github.workspace }}/ql/extractor-pack " ql/ql/test/queries/style/DeadCode/DeadCode.qlref
103+ "${CODEQL}" test run --check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
104104 env :
105105 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
106106 - name : Run a single QL tests - Windows
107107 if : runner.os == 'Windows'
108108 shell : pwsh
109109 run : |
110110 $Env:PATH += ";$(dirname ${{ steps.find-codeql.outputs.codeql-path }})"
111- codeql test run --check-databases --search-path "${{ github.workspace }}/ql/extractor-pack" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
112-
111+ codeql test run --check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
0 commit comments