Merge "Use templates for cover and lower-constraints"

This commit is contained in:
Zuul 2018-09-24 12:24:52 +00:00 committed by Gerrit Code Review
commit c6039cafaf
2 changed files with 14 additions and 15 deletions

View File

@ -1,20 +1,13 @@
- project:
check:
jobs:
- openstack-tox-lower-constraints
gate:
jobs:
- openstack-tox-lower-constraints
templates:
- openstack-python-jobs
- publish-openstack-docs-pti
- check-requirements
- openstack-python35-jobs
- lib-forward-testing
- lib-forward-testing-python3
- release-notes-jobs-python3
- periodic-stable-jobs
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python36-jobs
post:
jobs:
- openstack-tox-cover
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3

View File

@ -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