Skip to content

Commit

Permalink
Tox: simplify pypy command
Browse files Browse the repository at this point in the history
Previously in CI, pypy tests would hang forever due to https://foss.heptapod.net/pypy/pypy/-/issues/3317.
This was fixed in the latest release, so we can remove the workaround.
  • Loading branch information
olliemath authored Oct 27, 2021
1 parent fe1d91d commit 6c66ab3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,17 @@ skip_install = True
recreate = True
deps =
-r{toxinidir}/test_requirements.txt
; a separate worker is required in ci due to https://foss.heptapod.net/pypy/pypy/-/issues/3317
; this seems to cause tox to wait forever
; remove this when pypy releases the bugfix
commands =
pip install -e .[d]
coverage erase
pytest tests --run-optional no_python2 \
--run-optional no_jupyter \
!ci: --numprocesses auto \
ci: --numprocesses 1 \
--cov {posargs}
pip install -e .[jupyter]
pytest tests --run-optional jupyter \
-m jupyter \
!ci: --numprocesses auto \
ci: --numprocesses 1 \
--cov --cov-append {posargs}
coverage report

Expand Down

0 comments on commit 6c66ab3

Please sign in to comment.