Merge "Use templates for cover and lower-constraints"
This commit is contained in:
commit
c6039cafaf
21
.zuul.yaml
21
.zuul.yaml
|
@ -1,20 +1,13 @@
|
||||||
- project:
|
- project:
|
||||||
check:
|
|
||||||
jobs:
|
|
||||||
- openstack-tox-lower-constraints
|
|
||||||
gate:
|
|
||||||
jobs:
|
|
||||||
- openstack-tox-lower-constraints
|
|
||||||
templates:
|
templates:
|
||||||
- openstack-python-jobs
|
|
||||||
- publish-openstack-docs-pti
|
|
||||||
- check-requirements
|
- check-requirements
|
||||||
- openstack-python35-jobs
|
|
||||||
- lib-forward-testing
|
- lib-forward-testing
|
||||||
- lib-forward-testing-python3
|
- lib-forward-testing-python3
|
||||||
- release-notes-jobs-python3
|
- openstack-cover-jobs
|
||||||
- periodic-stable-jobs
|
- openstack-lower-constraints-jobs
|
||||||
|
- openstack-python-jobs
|
||||||
|
- openstack-python35-jobs
|
||||||
- openstack-python36-jobs
|
- openstack-python36-jobs
|
||||||
post:
|
- periodic-stable-jobs
|
||||||
jobs:
|
- publish-openstack-docs-pti
|
||||||
- openstack-tox-cover
|
- release-notes-jobs-python3
|
||||||
|
|
8
tox.ini
8
tox.ini
|
@ -35,7 +35,13 @@ commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
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]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
|
|
Loading…
Reference in New Issue