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:
23
23
working-directory : javascript/ql/experimental/adaptivethreatmodeling
24
24
25
25
jobs :
26
- qlcompile :
27
- name : Check QL compilation
28
- runs-on : ubuntu-latest
26
+ qltest :
27
+ name : Test QL
28
+ runs-on : ubuntu-latest-xl
29
29
steps :
30
30
- uses : actions/checkout@v3
31
31
32
32
- uses : ./.github/actions/fetch-codeql
33
33
34
34
- name : Install pack dependencies
35
35
run : |
36
- for pack in modelbuilding src; do
36
+ for pack in modelbuilding src test ; do
37
37
codeql pack install --mode verify -- "${pack}"
38
38
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
39
45
40
46
- name : Check QL compilation
41
47
run : |
42
48
codeql query compile \
43
49
--check-only \
44
- --ram 5120 \
50
+ --ram 52000 \
45
51
--additional-packs "${{ github.workspace }}" \
46
52
--threads=0 \
53
+ --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
47
54
-- \
48
55
lib modelbuilding src
49
56
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
-
61
57
- name : Run QL tests
62
58
run : |
63
59
codeql test run \
64
60
--threads=0 \
65
- --ram 5120 \
61
+ --ram 52000 \
66
62
--additional-packs "${{ github.workspace }}" \
63
+ --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
67
64
-- \
68
- test
65
+ test
You can’t perform that action at this time.
0 commit comments