File tree Expand file tree Collapse file tree 1 file changed +8
-25
lines changed Expand file tree Collapse file tree 1 file changed +8
-25
lines changed Original file line number Diff line number Diff line change @@ -23,60 +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
3939
4040 - name : Cache compilation cache
4141 id : query-cache
4242 uses : ./.github/actions/cache-query-compilation
4343 with :
44- key : js-ml-compilation
44+ key : js-ml-test
4545
4646 - name : Check QL compilation
4747 run : |
4848 codeql query compile \
4949 --check-only \
50- --ram 5120 \
50+ --ram 52000 \
5151 --additional-packs "${{ github.workspace }}" \
5252 --threads=0 \
5353 --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
5454 -- \
5555 lib modelbuilding src
5656
57- qltest :
58- name : Run QL tests
59- runs-on : ubuntu-latest
60- steps :
61- - uses : actions/checkout@v3
62-
63- - uses : ./.github/actions/fetch-codeql
64-
65- - name : Install pack dependencies
66- run : codeql pack install -- test
67-
68- - name : Cache compilation cache
69- id : query-cache
70- uses : ./.github/actions/cache-query-compilation
71- with :
72- key : js-ml-tests
73-
7457 - name : Run QL tests
7558 run : |
7659 codeql test run \
7760 --threads=0 \
78- --ram 5120 \
61+ --ram 52000 \
7962 --additional-packs "${{ github.workspace }}" \
8063 --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
8164 -- \
82- test
65+ test
You can’t perform that action at this time.
0 commit comments