File tree Expand file tree Collapse file tree 2 files changed +36
-21
lines changed
swift/actions/run-ql-tests Expand file tree Collapse file tree 2 files changed +36
-21
lines changed Original file line number Diff line number Diff line change @@ -63,31 +63,18 @@ jobs:
63
63
steps :
64
64
- uses : actions/checkout@v3
65
65
- uses : ./swift/actions/create-extractor-pack
66
- qltests :
66
+ qltests-linux :
67
67
needs : build-linux
68
68
runs-on : ubuntu-latest
69
69
steps :
70
70
- uses : actions/checkout@v3
71
- - uses : ./swift/actions/env-setup
72
- - uses : ./swift/actions/share-extractor-pack
73
- - name : Test qltest.sh
74
- run : |
75
- bazel test //swift/tools/test/qltest
76
- - uses : ./.github/actions/fetch-codeql
77
- - name : Run QL tests
78
- run : |
79
- codeql test run \
80
- --threads=0 \
81
- --ram 5000 \
82
- --search-path "${{ github.workspace }}/swift/extractor-pack" \
83
- --check-databases \
84
- --check-unused-labels \
85
- --check-repeated-labels \
86
- --check-redefined-labels \
87
- --check-use-before-definition \
88
- ql/test
89
- env :
90
- GITHUB_TOKEN : ${{ github.token }}
71
+ - uses : ./swift/actions/run-ql-tests
72
+ qltests-macos :
73
+ needs : build-macos
74
+ runs-on : macos-12-xl
75
+ steps :
76
+ - uses : actions/checkout@v3
77
+ - uses : ./swift/actions/run-ql-tests
91
78
integration-tests-linux :
92
79
needs : build-linux
93
80
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ name : Build Swift CodeQL pack
2
+ description : Builds the Swift CodeQL pack
3
+ runs :
4
+ using : composite
5
+ steps :
6
+ - uses : ./swift/actions/env-setup
7
+ - uses : ./swift/actions/share-extractor-pack
8
+ - uses : ./swift/actions/share-extractor-pack
9
+ - name : Test qltest.sh
10
+ shell : bash
11
+ run : |
12
+ bazel test //swift/tools/test/qltest
13
+ - uses : ./.github/actions/fetch-codeql
14
+ - name : Run QL tests
15
+ shell : bash
16
+ run : |
17
+ codeql test run \
18
+ --threads=0 \
19
+ --ram 5000 \
20
+ --search-path "${{ github.workspace }}/swift/extractor-pack" \
21
+ --check-databases \
22
+ --check-unused-labels \
23
+ --check-repeated-labels \
24
+ --check-redefined-labels \
25
+ --check-use-before-definition \
26
+ ql/test
27
+ env :
28
+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments