Uh oh!
There was an error while loading. Please reload this page.
Add pytest-xdist plugin to speed up tests - #1681
Conversation
Running locally on my Mac: - pytest: 1min 20sec - pytest -n auto: 15sec https://pypi.org/project/pytest-xdist/
bcantoni
commented
Nov 5, 2025
Okay not so fast -- tests ran fine locally but on GitHub several are failing with serialization problems so I'll need to look into this further. |
jorwoods
commented
Nov 7, 2025
@bcantoni I did a test and it looks like the issue is arising because of mixing pytest and unittest. The test |
jorwoods
commented
Nov 8, 2025
bcantoni
commented
Dec 23, 2025
@jorwoods I can confirm that your changes did fix that running in parallel issue :) This PR does save a little bit of time with the parallel runs. Looking at the python tests actions, it dropped from the usual 6 or 7 minute run to just over 4 minutes: |
Uh oh!
There was an error while loading. Please reload this page.
Running locally on my Mac: - pytest: 1min 20sec - pytest -n auto: 15sec https://pypi.org/project/pytest-xdist/ Co-authored-by: Jac <jacalata@users.noreply.github.com>
Running locally on my Mac: - pytest: 1min 20sec - pytest -n auto: 15sec https://pypi.org/project/pytest-xdist/ Co-authored-by: Jac <jacalata@users.noreply.github.com>

Running locally on my Mac:
https://pypi.org/project/pytest-xdist/