Skip to content

Commit 1256b7d

Browse files
committed
tox: disable running doctests from all envs
1 parent 270f610 commit 1256b7d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ deps =
4747
commands =
4848
# build cython extensions with coverage enabled
4949
python setup.py build_ext --inplace --cython-coverage --develop
50-
# run doctests
51-
coverage run -m pytest --doctest-cython src/pkgcraft
50+
# run doctests -- disabled until upstream issue with pytest-8 is fixed
51+
# see: https://github.com/lgpage/pytest-cython/issues/58
52+
#coverage run -m pytest --doctest-cython src/pkgcraft
5253
# run regular tests
5354
coverage run -m pytest {posargs}
5455
coverage combine
@@ -62,8 +63,9 @@ description = run tests under valgrind to find memory handling issues
6263
allowlist_externals = valgrind
6364
commands =
6465
python setup.py build_ext --inplace
65-
# run doctests
66-
valgrind pytest --doctest-cython src/pkgcraft
66+
# run doctests -- disabled until upstream issue with pytest-8 is fixed
67+
# see: https://github.com/lgpage/pytest-cython/issues/58
68+
#valgrind pytest --doctest-cython src/pkgcraft
6769
# run regular tests, skipping parallelized ones that cause failures
6870
valgrind pytest -m "not parallel" {posargs}
6971

0 commit comments

Comments
 (0)