We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
By using the pytest-xdist package one can execute tests in parallel, e.g.
$ python -m pytest -n 4
reduces the test execution time from 26.26s to 17.42s for me.
The only problem is that pytest-xdist does not work with every test definition. When adding it to CONTRIBUTING, we should also add a test for running it in CI, looking at https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources there seems to be the option to use at least 2 workers.
pytest-xdist
The text was updated successfully, but these errors were encountered:
No branches or pull requests
By using the pytest-xdist package one can execute tests in parallel, e.g.
reduces the test execution time from 26.26s to 17.42s for me.
The only problem is that
pytest-xdist
does not work with every test definition.When adding it to CONTRIBUTING, we should also add a test for running it in CI, looking at https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources there seems to be the option to use at least 2 workers.
The text was updated successfully, but these errors were encountered: