diff --git a/tox.ini b/tox.ini --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,10 @@ pytest-cov pifpaf commands = - pifpaf run postgresql -- pytest --doctest-modules --hypothesis-profile=fast --cov=swh --cov-branch {posargs} + pifpaf run postgresql -- pytest --hypothesis-profile=fast \ + {envsitepackagesdir}/swh/indexer \ + --cov={envsitepackagesdir}/swh/indexer \ + --cov-branch {posargs} [testenv:py3-slow] deps = @@ -15,7 +18,10 @@ pytest-cov pifpaf commands = - pifpaf run postgresql -- pytest --doctest-modules --hypothesis-profile=slow --cov=swh --cov-branch {posargs} + pifpaf run postgresql -- pytest --hypothesis-profile=slow \ + {envsitepackagesdir}/swh/indexer \ + --cov={envsitepackagesdir}/swh/indexer \ + --cov-branch {posargs} [testenv:py3-prop] deps = @@ -23,7 +29,9 @@ pytest-cov pifpaf commands = - pifpaf run postgresql -- pytest --doctest-modules --hypothesis-profile=fast -m property_based --disable-warnings + pifpaf run postgresql -- pytest --hypothesis-profile=fast \ + -m property_based --disable-warnings \ + {envsitepackagesdir}/swh/indexer [testenv:flake8] skip_install = true