-
Notifications
You must be signed in to change notification settings - Fork 318
test: adds pytest-xdist to speed up processing of CI/CD checks #2153
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
Conversation
@@ -129,6 +130,7 @@ def default(session, install_extras=True): | |||
# Run py.test against the unit tests. | |||
session.run( | |||
"py.test", | |||
"-n=auto", |
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.
I think the default is the number of CPUs on the instance, right? I recall in bigframes we set this a bit higher than that and it seemed to help.
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.
I believe you are correct, that the default is the number of CPUs on the instance.
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.
Thanks for making the tests a lot faster!
DO NOT MERGE.
WIP experiments with pytest-xdist.