Skip to content

Commit 871b884

Browse files
committed
tox: Add distribution strategies to pytest calls
1 parent 5b168da commit 871b884

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ commands =
106106
--cov nibabel --cov-report xml:cov.xml \
107107
--junitxml test-results.xml \
108108
--durations=20 --durations-min=1.0 \
109+
--dist worksteal \
109110
--pyargs nibabel {posargs:-n auto}
110111

111112
[testenv:install]
@@ -190,6 +191,7 @@ commands =
190191
--cov tests --cov nibabel --cov-report xml:cov.xml \
191192
--junitxml test-results.xml \
192193
--durations=20 --durations-min=1.0 \
194+
--dist loadgroup \
193195
tests/ {posargs:-n auto}
194196

195197
[testenv:build{,-strict}]

0 commit comments

Comments
 (0)