summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2019-04-15 08:26:36 +0200
committerChristian Heimes <christian@python.org>2019-04-15 08:57:31 +0200
commitefb01586d912f3fd7e16098c8768a147ce21bb96 (patch)
treedd1943b0bfcb1e0fd21ab3e9366d3a07b8b718c5 /tox.ini
parent49fe241089cac233ea59dd3c2a056a4de7f51257 (diff)
downloaddefusedxml-git-efb01586d912f3fd7e16098c8768a147ce21bb96.tar.gz
Add codecov and badges
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 5 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 1920c59..8bae237 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,15 +4,16 @@ skip_missing_interpreters = true
[testenv]
commands =
- {envpython} setup.py test
+ coverage run --parallel-mode tests.py
+ coverage combine
+ coverage report -m
deps =
lxml
+ coverage
[testenv:py38]
-commands =
- {envpython} setup.py test
# lxml FTBFS because Python sets -Wimplicit-int
-deps =
+deps = coverage
[testenv:black]
commands = black --check --verbose \