-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add argument to ci for test threads and build jobs #16145
base: main
Are you sure you want to change the base?
Add argument to ci for test threads and build jobs #16145
Conversation
Also should fix #12207 |
More of a workaround than a fix, I think. |
…nen/bevy into test-threads-in-ci-doc-test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
I'm not understanding how to use the
|
|
@BenjaminBrienen does |
I'll test it when I have time later |
pulled d7d808d and now i can pass
and i saw on the console that it is passing as a string(?)
|
|
I'll look at this more later thanks |
|
Reading the documentation for |
Objective
Fixes #16051
Solution
Rework flags into arguments and add an arg for the number of test threads and an arg for the number of build jobs.
cargo run -p ci -- --test-threads 1 --build-jobs 1
Testing
Tested CI locally. Build pipeline should also be a good way to catch mistakes in the command line usage.