You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on code samples in Python language, I'm often irritated by how long it takes to run the full test suite for my PRs. I'd love to have support for pytest-xdist or pytest-parallel in the noxfiles that we force-sync in our Python repositories. All tests should always be written in a way, that they don't rely on any order and don't interfere with each other, so this should not cause any problems.
I'll provide a PR that supports those pytest extensions for review in a moment.
According to tests run on my local machine on the python-compute repository, the time it takes to run all tests for samples can be reduced to 5 minutes from almost half an hour IIRC.
The text was updated successfully, but these errors were encountered:
Closing #1364
Auto-add parameters for `pytest` when we detect that `pytest-xdist` or `pytest-parallel` are installed through the `requirements.txt` or `requirements-test.txt` files.
Setting the options to auto, as we can't assume what's the best number would be for the various environments the tests will run on.
Closing #1364
Auto-add parameters for `pytest` when we detect that `pytest-xdist` or `pytest-parallel` are installed through the `requirements.txt` or `requirements-test.txt` files.
Setting the options to auto, as we can't assume what's the best number would be for the various environments the tests will run on.
When working on code samples in Python language, I'm often irritated by how long it takes to run the full test suite for my PRs. I'd love to have support for
pytest-xdist
orpytest-parallel
in the noxfiles that we force-sync in our Python repositories. All tests should always be written in a way, that they don't rely on any order and don't interfere with each other, so this should not cause any problems.I'll provide a PR that supports those pytest extensions for review in a moment.
According to tests run on my local machine on the
python-compute
repository, the time it takes to run all tests for samples can be reduced to 5 minutes from almost half an hour IIRC.The text was updated successfully, but these errors were encountered: