@@ -49,23 +49,23 @@ jobs:
49
49
- name : Cache compilation cache
50
50
id : query-cache
51
51
uses : ./.github/actions/cache-query-compilation
52
- with :
52
+ with :
53
53
key : ql-for-ql-tests
54
54
- name : Run QL tests
55
55
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 --consistency-queries ql/ql/consistency-queries --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" ql/ql/test
57
57
env :
58
58
CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
59
59
60
- other-os :
60
+ other-os :
61
61
strategy :
62
62
matrix :
63
63
os : [macos-latest, windows-latest]
64
64
needs : [qltest]
65
65
runs-on : ${{ matrix.os }}
66
66
steps :
67
67
- uses : actions/checkout@v4
68
- - name : Install GNU tar
68
+ - name : Install GNU tar
69
69
if : runner.os == 'macOS'
70
70
run : |
71
71
brew install gnu-tar
@@ -100,13 +100,12 @@ jobs:
100
100
- name : Run a single QL tests - Unix
101
101
if : runner.os != 'Windows'
102
102
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 ql/ql/test/queries/style/DeadCode/DeadCode.qlref
104
104
env :
105
105
CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
106
106
- name : Run a single QL tests - Windows
107
107
if : runner.os == 'Windows'
108
108
shell : pwsh
109
109
run : |
110
110
$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 ql/ql/test/queries/style/DeadCode/DeadCode.qlref
0 commit comments