FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/.github/workflows/js-ml-tests.yml at codeql-cli-2.11.3 · github/codeql · GitHub
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10.1k
Code
Issues
1k
Pull requests
468
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
.github
/
workflows
/
js-ml-tests.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
81 lines (68 loc) · 1.95 KB
Breadcrumbs
codeql
/
.github
/
workflows
/
js-ml-tests.yml
Copy path
File metadata and controls
81 lines (68 loc) · 1.95 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name
:
JS ML-powered queries tests
on
:
push
:
paths
:
-
"
javascript/ql/experimental/adaptivethreatmodeling/**
"
-
.github/workflows/js-ml-tests.yml
-
.github/actions/fetch-codeql/action.yml
-
codeql-workspace.yml
branches
:
-
main
-
"
rc/*
"
pull_request
:
paths
:
-
"
javascript/ql/experimental/adaptivethreatmodeling/**
"
-
.github/workflows/js-ml-tests.yml
-
.github/actions/fetch-codeql/action.yml
-
codeql-workspace.yml
workflow_dispatch
:
defaults
:
run
:
working-directory
:
javascript/ql/experimental/adaptivethreatmodeling
jobs
:
qlformat
:
name
:
Check QL formatting
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
./.github/actions/fetch-codeql
-
name
:
Check QL formatting
run
:
|
find . "(" -name "*.ql" -or -name "*.qll" ")" -print0 | \
xargs -0 codeql query format --check-only
qlcompile
:
name
:
Check QL compilation
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
./.github/actions/fetch-codeql
-
name
:
Install pack dependencies
run
:
|
for pack in modelbuilding src; do
codeql pack install --mode verify -- "${pack}"
done
-
name
:
Check QL compilation
run
:
|
codeql query compile \
--check-only \
--ram 5120 \
--additional-packs "${{ github.workspace }}" \
--threads=0 \
-- \
lib modelbuilding src
qltest
:
name
:
Run QL tests
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
./.github/actions/fetch-codeql
-
name
:
Install pack dependencies
run
:
codeql pack install -- test
-
name
:
Run QL tests
run
:
|
codeql test run \
--threads=0 \
--ram 5120 \
--additional-packs "${{ github.workspace }}" \
-- \
test
Back
|
FazBrowse Home
|
New Git URL