diff --git a/tox.ini b/tox.ini index fcbc6d6..6c5de3c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = true -envlist = py{38,39,310,311,312}-pytest{5,6,7,8},lint +envlist = py{38,39,310,311,312}-pytest{5,6,7,8,810,81},lint [testenv] allowlist_externals = poetry @@ -9,7 +9,10 @@ commands = pytest5: pip install "pytest<6" pytest6: pip install "pytest>=6,<7" pytest7: pip install "pytest>=7,<8" - pytest8: pip install "pytest>=8,<9" + pytest8: pip install "pytest>=8,<8.1" + # pytest 8.1.0 was yanked, but their "broken behaviour" will comeback soon + pytest810: pip install "pytest==8.1.0" + pytest81: pip install "pytest>=8.1,<9" # Disable ruff plugin to generate better coverage results poetry run pytest -p no:ruff -vvv --cov --cov-append --cov-report term --cov-report xml {posargs}