summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 9 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 35f4cab..5696d9d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,7 +21,7 @@ deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
- python setup.py testr --slowest --testr-args='{posargs}'
+ stestr run {posargs}
[testenv:docs]
basepython = python3
@@ -56,7 +56,14 @@ basepython = python3
deps =
{[testenv]deps}
coverage>=3.6
-commands = python setup.py testr --coverage --testr-args='{posargs}'
+setenv =
+ {[testenv]setenv}
+ PYTHON=coverage run --source taskflow --parallel-mode
+commands =
+ stestr run {posargs}
+ coverage combine
+ coverage html -d cover
+ coverage xml -o cover/coverage.xml
[testenv:venv]
basepython = python3