-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 more tests in parallel #17185
Run more tests in parallel #17185
Conversation
At some point, Github Actions runners started having more cores: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
This comment has been minimized.
This comment has been minimized.
Couldn't we use |
I'm not sure of the history here / I'm not sure what the exact specs of the machines underlying Github runners are. But reading the xdist code: https://github.com/pytest-dev/pytest-xdist/blob/master/src/xdist/plugin.py#L32 |
Seems like it's 4; and using |
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
Faster CI sounds great! What's the impact on the various checks we run? |
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.
The improvements look good, and in line with what I'd expect, if the underlying hardware can run 2 threads per core.
At some point, Github Actions runners started having more cores: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories