diff --git a/tox.ini b/tox.ini --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,14 @@ [tox] envlist=flake8,mypy,py3 -[testenv:py3] +[testenv] +extras = + testing deps = # the dependency below is needed for now as a workaround for # https://github.com/pypa/pip/issues/6239 swh.core[http] >= 0.0.75 - .[testing] + dev: ipdb pytest-cov pifpaf commands = @@ -14,14 +16,6 @@ {envsitepackagesdir}/swh/deposit \ {posargs} -[testenv:py3-dev] -deps = - swh.core[http] >= 0.0.75 - .[testing] - ipdb -commands = - pytest {envsitepackagesdir}/swh/deposit/ {posargs} - [testenv:flake8] skip_install = true deps = @@ -32,9 +26,9 @@ [testenv:mypy] setenv = DJANGO_SETTINGS_MODULE = swh.deposit.settings.testing -skip_install = true +extras = + testing deps = - .[testing] mypy commands = mypy swh