Skip to content

Commit 84ce232

Browse files
committed
use the query compilation cache in the ATM qltest
1 parent 5bcb9b2 commit 84ce232

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/js-ml-tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
for pack in modelbuilding src; do
3737
codeql pack install --mode verify -- "${pack}"
3838
done
39+
40+
- name: Cache compilation cache
41+
id: query-cache
42+
uses: ./.github/actions/cache-query-compilation
43+
with:
44+
key: js-ml-compilation
3945

4046
- name: Check QL compilation
4147
run: |
@@ -44,6 +50,7 @@ jobs:
4450
--ram 5120 \
4551
--additional-packs "${{ github.workspace }}" \
4652
--threads=0 \
53+
--compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
4754
-- \
4855
lib modelbuilding src
4956
@@ -58,11 +65,18 @@ jobs:
5865
- name: Install pack dependencies
5966
run: codeql pack install -- test
6067

68+
- name: Cache compilation cache
69+
id: query-cache
70+
uses: ./.github/actions/cache-query-compilation
71+
with:
72+
key: js-ml-tests
73+
6174
- name: Run QL tests
6275
run: |
6376
codeql test run \
6477
--threads=0 \
6578
--ram 5120 \
6679
--additional-packs "${{ github.workspace }}" \
80+
--compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
6781
-- \
6882
test

0 commit comments

Comments
 (0)