-
-
Notifications
You must be signed in to change notification settings - Fork 680
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
Speed up tests with pytest-xdist #1289
Comments
On my Mac |
Looks like
|
https://github.com/simonw/datasette/actions/runs/713207828 ran with Here's the test suite running on regular Not a huge speed-up because there are only 2 available cores in the GitHub Actions environment, but still worthwhile - especially since this lets people run in parallel on their own laptops. |
* Run tests in CI using pytest-xdist * Documentation for pytest-xdist Closes #1289
I think I can get this working for almost every test, then use the pattern in pytest-dev/pytest-xdist#385 (comment) to opt specific tests out of being run in parallel.
The text was updated successfully, but these errors were encountered: