Closed mdbenito closed 9 months ago
This doesn't seem to improve the test runtime on CI. Is that expected?
This doesn't seem to improve the test runtime on CI. Is that expected?
For the record: yes, this only improves tests on machines with > 4 cores.
Description
This PR makes our lives nicer by using pytest-xdist. We automagically set the number of pytest workers to avoid oversubscription by looking at
num_workers
(the number of parallel processes started within a test using a parallel backend)Changes
num_workers
not a fixture-n auto
in calls to pytest insidetox.ini
Checklist
"tags": ["hide"]
or"tags": ["hide-input"]
~