Skip to content

Commit

Permalink
make tests run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Dec 27, 2023
1 parent 4477c02 commit 71dcc9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ test = [
"pytest-mpl",
"pytest-mypy",
"pytest-remotedata",
"pytest-xdist[psutil]",
"tox",
]

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ setenv =
PIP_PREFER_BINARY = 1
NPY_DISABLE_CPU_FEATURES = AVX512_SKX
coverage: NUMBA_DISABLE_JIT = 1
fast: PYTEST_MARKERS = -m "not slow and not mpl_image_compare"
online: PYTEST_MARKERS = -m "remote_data"
slow: PYTEST_MARKERS = -m "slow"
images: PYTEST_MARKERS = -m "mpl_image_compare"
fast: PYTEST_MARKERS = -m "not slow and not mpl_image_compare" -n auto
online: PYTEST_MARKERS = -m "remote_data" -n auto
slow: PYTEST_MARKERS = -m "slow" -n auto
images: PYTEST_MARKERS = -m "mpl_image_compare" -n auto
PYTEST_EXTRA_ARGS = --mypy
online: PYTEST_EXTRA_ARGS = --remote-data=any
slow: PYTEST_EXTRA_ARGS =
Expand Down

0 comments on commit 71dcc9f

Please sign in to comment.