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:
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
39
40
40
- name : Cache compilation cache
41
41
id : query-cache
42
42
uses : ./.github/actions/cache-query-compilation
43
43
with :
44
- key : js-ml-compilation
44
+ key : js-ml-test
45
45
46
46
- name : Check QL compilation
47
47
run : |
48
48
codeql query compile \
49
49
--check-only \
50
- --ram 5120 \
50
+ --ram 52000 \
51
51
--additional-packs "${{ github.workspace }}" \
52
52
--threads=0 \
53
53
--compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
54
54
-- \
55
55
lib modelbuilding src
56
56
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
-
74
57
- name : Run QL tests
75
58
run : |
76
59
codeql test run \
77
60
--threads=0 \
78
- --ram 5120 \
61
+ --ram 52000 \
79
62
--additional-packs "${{ github.workspace }}" \
80
63
--compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
81
64
-- \
82
- test
65
+ test
You can’t perform that action at this time.
0 commit comments