Skip to content

Commit be9d90f

Browse files
committed
Tweak coverage report
1 parent 0a1bad5 commit be9d90f

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

tox.ini

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,19 @@ install_command = python -Im pip install -U --pre {opts} {packages}
4949

5050
allowlist_externals = pytest
5151
commands_pre = python -I {toxinidir}/tests/manage.py migrate
52-
commands = python -Im pytest --cov --cov-append --ignore=docs/ {posargs: -vv}
52+
commands = python -Im pytest --cov --cov-append --cov-report= --ignore=docs/ {posargs: -vv}
53+
54+
[testenv:report]
55+
deps = coverage
56+
skip_install = true
57+
commands =
58+
coverage report
59+
coverage html
60+
61+
[testenv:clean]
62+
deps = coverage
63+
skip_install = true
64+
commands = coverage erase
5365

5466
[testenv:interactive]
5567
description = An interactive environment for local testing purposes

0 commit comments

Comments
 (0)