summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2018-05-07 08:25:55 -0700
committerDavid Lord <davidism@gmail.com>2018-05-07 11:43:52 -0700
commit9a584de0dc1c7c70eac39e4d5e5eccaeaf0e33c4 (patch)
tree049eb81eef98ee0dc33c1ee8fa7797f7282682e8 /tox.ini
parentb1824c4f4011291801eda0abfe3104a2d333af4f (diff)
downloadmarkupsafe-9a584de0dc1c7c70eac39e4d5e5eccaeaf0e33c4.tar.gz
make pytest-cov collect over tox envs
this config doesn't feel correct
Diffstat (limited to 'tox.ini')
-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