Use openstack-tox-cover template

Use openstack-tox-cover template, this runs the cover job as
non-voting in the check queue only.

Remove jobs and use template instead.

Fix cover environment.

Change-Id: I4fa5ac5d852544beffb020b30f2f428ebf56b78b
This commit is contained in:
Andreas Jaeger 2018-09-07 12:20:52 +02:00
parent cdfa55c2bf
commit 114d7ebaaf
2 changed files with 2 additions and 4 deletions

View File

@ -24,6 +24,7 @@
- project: - project:
templates: templates:
- openstack-cover-jobs
- openstack-python-jobs - openstack-python-jobs
- openstack-python35-jobs - openstack-python35-jobs
- openstack-python36-jobs - openstack-python36-jobs
@ -38,6 +39,3 @@
queue: cloudkitty queue: cloudkitty
jobs: jobs:
- cloudkitty-install - cloudkitty-install
post:
jobs:
- openstack-tox-cover

View File

@ -30,7 +30,7 @@ commands =
basepython = python3 basepython = python3
setenv = setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
PYTHON=coverage run --source $project --parallel-mode PYTHON=coverage run --source cloudkitty --parallel-mode
commands = commands =
stestr run '{posargs}' stestr run '{posargs}'
coverage combine coverage combine