Skip to content

Commit d9a1046

Browse files
authored
Merge pull request github#7683 from hvitved/ruby/qltest-4-threads
Ruby: Use multiple threads in QL test CI job
2 parents 1e39259 + 55f427c commit d9a1046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ruby-qltest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
- uses: ./ruby/actions/create-extractor-pack
3333
- name: Run QL tests
3434
run: |
35-
codeql test run --search-path "${{ github.workspace }}/ruby/extractor-pack" --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --consistency-queries ql/consistency-queries ql/test
35+
codeql test run --threads=0 --ram 5000 --search-path "${{ github.workspace }}/ruby/extractor-pack" --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --consistency-queries ql/consistency-queries ql/test
3636
env:
3737
GITHUB_TOKEN: ${{ github.token }}
3838
- name: Check QL formatting
3939
run: find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql query format --check-only
4040
- name: Check QL compilation
4141
run: |
42-
codeql query compile --check-only --threads=4 --warnings=error "ql/src" "ql/examples"
42+
codeql query compile --check-only --threads=0 --ram 5000 --warnings=error "ql/src" "ql/examples"
4343
env:
4444
GITHUB_TOKEN: ${{ github.token }}
4545
- name: Check DB upgrade scripts

0 commit comments

Comments
 (0)