diff --git a/tox.ini b/tox.ini index 42dd887..8e20f05 100644 --- a/tox.ini +++ b/tox.ini @@ -1,30 +1,30 @@ [tox] envlist=flake8,mypy,py3 -[testenv:py3] +[testenv] passenv=SWH_KAFKA_ROOT deps = .[testing] pytest-cov setenv = SWH_KAFKA_ROOT = {env:SWH_KAFKA_ROOT:swh/journal/tests/kafka} commands = pytest --cov={envsitepackagesdir}/swh/journal \ {envsitepackagesdir}/swh/journal \ --cov-branch \ --doctest-modules {posargs} [testenv:flake8] skip_install = true deps = flake8 commands = {envpython} -m flake8 [testenv:mypy] skip_install = true deps = .[testing] mypy commands = mypy swh