Skip to content
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

justfile: use numParallelJobs in test flag #2762

Merged
merged 1 commit into from
May 3, 2024

Conversation

paulcadman
Copy link
Collaborator

@paulcadman paulcadman commented May 1, 2024

The numParallelJobs option on the justfile is used to control the total amount of concurrency when running build commands. This PR adds this number to the test runner command: +RTS -N$numParallelJobs -RTS. This means that $numParallelJobs threads will be used by the test runner.

NB: ``+RTS -N -RTS` means that tests will use the number of threads equal to the number of CPUs on the machine.

@paulcadman paulcadman added this to the 0.6.2 milestone May 1, 2024
@paulcadman paulcadman self-assigned this May 1, 2024
@paulcadman paulcadman merged commit 3c795fe into main May 3, 2024
4 checks passed
@paulcadman paulcadman deleted the justfile-test-concurrency branch May 3, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants