diff options
author | Andreas Jaeger <aj@suse.com> | 2018-09-07 12:17:01 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2018-09-08 15:38:12 +0200 |
commit | 7d4433eef5242983e6369ca32d5e3b6fee492e4f (patch) | |
tree | 39200748a026622fab6742f20277b1c296f0038a /tox.ini | |
parent | 8a19d6fe4041f0effb6c896cc653a8b23aee3372 (diff) | |
download | oslo-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.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |