summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini16
1 files changed, 14 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index e480942..628547a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,9 +7,9 @@ envlist =
[testenv]
passenv = LANG
deps =
- pytest>=3
pytest-cov
-commands = pytest --cov=markupsafe {posargs}
+commands = pytest --cov={envsitepackagesdir}/markupsafe --cov-config=tox.ini --cov-report='' --cov-append {posargs}
+
[testenv:docs-html]
deps =
sphinx
@@ -34,3 +34,15 @@ commands =
coverage combine
coverage report
codecov
+
+[coverage:run]
+branch = True
+parallel = True
+source =
+ markupsafe
+
+[coverage:paths]
+source =
+ markupsafe
+ .tox/*/lib/python*/site-packages/markupsafe
+ .tox/pypy/site-packages/markupsafe