File tree Expand file tree Collapse file tree 3 files changed +29
-3
lines changed
Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 1+ name : " Go: Run RTJO Tests"
2+ on :
3+ pull_request :
4+ types :
5+ - labeled
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ test-linux :
12+ if : " github.repository_owner == 'github' && github.event.label.name == 'Run: RTJO Language Tests'"
13+ name : RTJO Test Linux (Ubuntu)
14+ runs-on : ubuntu-latest-xl
15+ steps :
16+ - name : Check out code
17+ uses : actions/checkout@v4
18+ - name : Run tests
19+ uses : ./go/actions/test
20+ with :
21+ run-code-checks : true
22+ dynamic-join-order-mode : all
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ ql/lib/go.dbscheme.stats: ql/lib/go.dbscheme build/stats/src.stamp extractor
5252 codeql dataset measure -o $@ build/stats/database/db-go
5353
5454test : all build/testdb/check-upgrade-path
55- codeql test run -j0 ql/test --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache )
55+ codeql test run -j0 ql/test --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache ) --dynamic-join-order-mode= $( rtjo )
5656# use GOOS=linux because GOOS=darwin GOARCH=386 is no longer supported
57- env GOOS=linux GOARCH=386 codeql$(EXE) test run -j0 ql/test/query-tests/Security/CWE-681 --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache)
57+ env GOOS=linux GOARCH=386 codeql$(EXE) test run -j0 ql/test/query-tests/Security/CWE-681 --search-path .. --consistency-queries ql/test/consistency --compilation-cache=$(cache) --dynamic-join-order-mode=$(rtjo)
5858 cd extractor; $(BAZEL) test ...
5959 bash extractor-smoke-test/test.sh || (echo "Extractor smoke test FAILED"; exit 1)
6060
Original file line number Diff line number Diff line change 99 description : Whether to run formatting, code and qhelp generation checks
1010 required : false
1111 default : false
12+ dynamic-join-order-mode :
13+ description : Value of the --dynamic-join-order-mode flag to pass to the codeql test command
14+ required : false
15+ default : " none"
1216runs :
1317 using : composite
1418 steps :
7478 shell : bash
7579 run : |
7680 cd go
77- make test cache="${{ steps.query-cache.outputs.cache-dir }}"
81+ make test cache="${{ steps.query-cache.outputs.cache-dir }}" rtjo=${{ inputs.dynamic-join-order-mode }}
You can’t perform that action at this time.
0 commit comments