diff --git a/tox.ini b/tox.ini index 6fda7a34..d0faa9db 100644 --- a/tox.ini +++ b/tox.ini @@ -1,18 +1,18 @@ [tox] envlist=flake8,py3 [testenv:py3] deps = .[testing] pytest-cov pifpaf commands = - pifpaf run postgresql -- pytest {envsitepackagesdir}/swh/deposit {posargs} + pifpaf run postgresql -- pytest {envsitepackagesdir}/swh/deposit --cov=swh --cov-branch {posargs} [testenv:flake8] skip_install = true deps = flake8 commands = {envpython} -m flake8 \ --exclude=.tox,.git,__pycache__,.tox,.eggs,*.egg,swh/deposit/migrations