Skip to content

Ruby: Use multiple threads in QL test CI job #7683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Jan 20, 2022

No description provided.

@hvitved hvitved added the Ruby label Jan 20, 2022
@hvitved hvitved force-pushed the ruby/qltest-4-threads branch from ef37b40 to b027c85 Compare January 20, 2022 21:33
@hvitved hvitved force-pushed the ruby/qltest-4-threads branch from 0e3566a to 55f427c Compare January 21, 2022 10:46
@hvitved hvitved changed the title Ruby: Use 4 threads in QL test CI job Ruby: Use multiple threads in QL test CI job Jan 21, 2022
@@ -32,14 +32,14 @@ jobs:
- uses: ./ruby/actions/create-extractor-pack
- name: Run QL tests
run: |
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
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Actions docs state that the VM has 7GB of RAM, so maybe we can bump this even further?

@hvitved hvitved merged commit d9a1046 into github:main Jan 27, 2022
@hvitved hvitved deleted the ruby/qltest-4-threads branch January 27, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants