summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2018-09-07 12:17:01 +0200
committerAndreas Jaeger <aj@suse.com>2018-09-08 15:38:12 +0200
commit7d4433eef5242983e6369ca32d5e3b6fee492e4f (patch)
tree39200748a026622fab6742f20277b1c296f0038a /tox.ini
parent8a19d6fe4041f0effb6c896cc653a8b23aee3372 (diff)
downloadoslo-concurrency-7d4433eef5242983e6369ca32d5e3b6fee492e4f.tar.gz
Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job as non-voting in the check queue only. Use openstack-lower-constraints-jobs template Remove jobs that are part of the templates. Sort template list alphabetically. Fix cover tox.ini setting so that this works. Change-Id: I6e7d197b780e79f22ad936fe63da13ca48098764
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