File tree Expand file tree Collapse file tree 1 file changed +15
-18
lines changed Expand file tree Collapse file tree 1 file changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -23,46 +23,43 @@ defaults:
2323 working-directory : javascript/ql/experimental/adaptivethreatmodeling
2424
2525jobs :
26- qlcompile :
27- name : Check QL compilation
28- runs-on : ubuntu-latest
26+ qltest :
27+ name : Test QL
28+ runs-on : ubuntu-latest-xl
2929 steps :
3030 - uses : actions/checkout@v3
3131
3232 - uses : ./.github/actions/fetch-codeql
3333
3434 - name : Install pack dependencies
3535 run : |
36- for pack in modelbuilding src; do
36+ for pack in modelbuilding src test ; 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-test
3945
4046 - name : Check QL compilation
4147 run : |
4248 codeql query compile \
4349 --check-only \
44- --ram 5120 \
50+ --ram 52000 \
4551 --additional-packs "${{ github.workspace }}" \
4652 --threads=0 \
53+ --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
4754 -- \
4855 lib modelbuilding src
4956
50- qltest :
51- name : Run QL tests
52- runs-on : ubuntu-latest
53- steps :
54- - uses : actions/checkout@v3
55-
56- - uses : ./.github/actions/fetch-codeql
57-
58- - name : Install pack dependencies
59- run : codeql pack install -- test
60-
6157 - name : Run QL tests
6258 run : |
6359 codeql test run \
6460 --threads=0 \
65- --ram 5120 \
61+ --ram 52000 \
6662 --additional-packs "${{ github.workspace }}" \
63+ --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
6764 -- \
68- test
65+ test
You can’t perform that action at this time.
0 commit comments