Skip to content

Commit e04eae8

Browse files
authored
Enable pytest-xdist when testing wheels (#9979)
1 parent e2f1f45 commit e04eae8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/wheels-test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ if (!$?) { exit $LASTEXITCODE }
2222
if (!$?) { exit $LASTEXITCODE }
2323
& $venv\Scripts\$python -m pytest -vv -x checks\check_wheel.py
2424
if (!$?) { exit $LASTEXITCODE }
25-
& $venv\Scripts\$python -m pytest -vv -x Tests
25+
& $venv\Scripts\$python -m pytest -vv -x --numprocesses=logical --dist=worksteal Tests
2626
if (!$?) { exit $LASTEXITCODE }

.github/workflows/wheels-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ fi
3434
# Runs tests
3535
python3 selftest.py
3636
python3 -m pytest -vv -x checks/check_wheel.py
37-
python3 -m pytest -vv -x
37+
python3 -m pytest -vv -x --numprocesses=logical --dist=worksteal

0 commit comments

Comments
 (0)