Skip to content

CI: Use PYTEST_WORKERS=0 instead of 1 for single cpu runtime #54049

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

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

mroeschke
Copy link
Member

It appears -n 1 with pytest-xdist will spawn a worker and run a test on the single worker while -n 0 avoids that extra work of spawning a worker and still runs the tests in a "single cpu" runtime

@mroeschke mroeschke added the CI Continuous Integration label Jul 7, 2023
@mroeschke mroeschke added this to the 2.1 milestone Jul 7, 2023
@mroeschke
Copy link
Member Author

Looks like this shaves off significant time off the windows builds which is nice. Going to merge but happy to follow up.

@mroeschke mroeschke merged commit f967260 into pandas-dev:main Jul 10, 2023
@mroeschke mroeschke deleted the ci/tst/single branch July 10, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant