diff --git a/tox.ini b/tox.ini index 1224c960..6b9dca03 100644 --- a/tox.ini +++ b/tox.ini @@ -18,17 +18,18 @@ envlist = #constrain_package_deps = true #use_frozen_constraints = true #basepython=python +changedir = tests deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements-dev.txt setenv = PYTHONPATH = {toxinidir}:{toxinidir}/related commands = - py311: {envpython} -m pytest - py310: {envpython} -m pytest - py39: {envpython} -m pytest - py38: {envpython} -m pytest - pypy310: {envpython} -m pytest + py311: {envpython} -m pytest -r=fE --exitfirst --durations=5 --strict-config --cache-clear --capture=sys --show-capture=all --tb=short --strict-config --color=yes --code-highlight=yes --showlocals "$test_filename" + py310: {envpython} -m pytest -r=fE --exitfirst --durations=5 --strict-config --cache-clear --capture=sys --show-capture=all --tb=short --strict-config --color=yes --code-highlight=yes --showlocals "$test_filename" + py39: {envpython} -m pytest -r=fE --exitfirst --durations=5 --strict-config --cache-clear --capture=sys --show-capture=all --tb=short --strict-config --color=yes --code-highlight=yes --showlocals "$test_filename" + py38: {envpython} -m pytest -r=fE --exitfirst --durations=5 --strict-config --cache-clear --capture=sys --show-capture=all --tb=short --strict-config --color=yes --code-highlight=yes --showlocals "$test_filename" + pypy310: {envpython} -m pytest -r=fE --exitfirst --durations=5 --strict-config --cache-clear --capture=sys --show-capture=all --tb=short --strict-config --color=yes --code-highlight=yes --showlocals "$test_filename" [testenv:style] deps = pre-commit