-
Notifications
You must be signed in to change notification settings - Fork 6k
Run Tests in Parallel #3283
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
Run Tests in Parallel #3283
Conversation
Also make py3.11 tests as non-experimental
Bibo-Joshi
left a comment
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.
Sorry for getting back to this late.
The speedup in the CI doesn't seem as big as for you locally, but it's nice nonetheless. Tests seem to run rather stable, too, so let's add it :) Can you also add a note to the contrib guide that tells users how they can use pytest-xdist? Probably also add a warning that this may effect the test results in rare edge cases :D
Bibo-Joshi
left a comment
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.
LGTM 👍 if there's nothing left from your side, I can merge once the tests pass :)
Runs the test suite in parallel by using the
pytest-xdistplugin. In my case, the test suite went from taking ~14 mins to complete to just 3m 28s!That's roughly a 75% improvement!