Skip to content
Snippets Groups Projects
Commit 96cc355d authored by vlorentz's avatar vlorentz
Browse files

tox: Disable coverage in py3-minimal

If run after py3-full, it overwrites the full coverage info, so most lines
are incorrectly reported as uncovered in Phabricator diffs.
parent 8c904dc6
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,11 @@ extras =
deps =
pytest-cov
commands =
pytest --cov={envsitepackagesdir}/swh/model \
--doctest-modules \
full: {envsitepackagesdir}/swh/model \
minimal: {envsitepackagesdir}/swh/model/tests/test_cli.py -m 'not requires_optional_deps' \
--cov-branch {posargs}
pytest \
--doctest-modules \
full: --cov={envsitepackagesdir}/swh/model --cov-branch {posargs} \
full: {envsitepackagesdir}/swh/model
minimal: {envsitepackagesdir}/swh/model/tests/test_cli.py -m 'not requires_optional_deps'
[testenv:py3]
skip_install = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment