summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7ac6bee..979e668 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,7 +35,13 @@ commands = python setup.py build_sphinx
[testenv:cover]
basepython = python3
-commands = python setup.py test --coverage --coverage-package-name=oslo_concurrency --testr-args='{posargs}'
+setenv =
+ PYTHON=coverage run --source oslo_concurrency --parallel-mode
+commands =
+ stestr run '{posargs}'
+ coverage combine
+ coverage html -d cover
+ coverage xml -o cover/coverage.xml
[flake8]
show-source = True