Skip to content

Commit

Permalink
Add pytest-xdist to further parallelize tests
Browse files Browse the repository at this point in the history
  • Loading branch information
f0uriest committed Mar 8, 2024
1 parent 38cfca9 commit 4368d53
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nbtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
lscpu
export PYTHONPATH=$(pwd)
pytest -v --nbmake "./docs/notebooks" \
-n auto \
--nbmake-timeout=1000 \
--ignore=./docs/notebooks/zernike_eval.ipynb \
--splits 2 \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
pwd
lscpu
python -m pytest -v -m regression \
-n auto \
--durations=0 \
--cov-report xml:cov.xml \
--cov-config=setup.cfg \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
pwd
lscpu
python -m pytest -v -m unit \
-n auto \
--durations=0 \
--cov-report xml:cov.xml \
--cov-config=setup.cfg \
Expand Down
1 change: 1 addition & 0 deletions devtools/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pytest-split == 0.8.2
qicna @ git+https://github.com/rogeriojorge/pyQIC/
qsc
shapely >= 1.8.2
pytest-xdist > 3.0, < 4.0

# building
build
1 change: 1 addition & 0 deletions devtools/dev-requirements_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ dependencies:
- pytest-mpl = 0.16.1
- pytest-split == 0.8.2
- shapely >= 1.8.2
- pytest-xdist > 3.0, < 4.0

# building
- python-build

0 comments on commit 4368d53

Please sign in to comment.