Add coverage reports to py27/35/36 unit test jobs
...and drop openstack-cover-jobs since it is no longer necessary. Change-Id: Iad12e64f41bbdd8b8e005b0fb14a7e2108fa3bcf
This commit is contained in:
parent
11154b5534
commit
dd49f17030
13
.zuul.yaml
13
.zuul.yaml
@ -22,6 +22,10 @@
|
|||||||
tools/test-setup.sh.
|
tools/test-setup.sh.
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: py27
|
tox_envlist: py27
|
||||||
|
tox_environment:
|
||||||
|
NOSE_COVER_HTML: 1
|
||||||
|
NOSE_COVER_HTML_DIR: '{toxinidir}/cover'
|
||||||
|
post-run: tools/playbooks/common/cover-post.yaml
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: swift-tox-py27-centos-7
|
name: swift-tox-py27-centos-7
|
||||||
@ -40,6 +44,10 @@
|
|||||||
vars:
|
vars:
|
||||||
tox_envlist: py35
|
tox_envlist: py35
|
||||||
bindep_profile: test py35
|
bindep_profile: test py35
|
||||||
|
tox_environment:
|
||||||
|
NOSE_COVER_HTML: 1
|
||||||
|
NOSE_COVER_HTML_DIR: '{toxinidir}/cover'
|
||||||
|
post-run: tools/playbooks/common/cover-post.yaml
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: swift-tox-py36
|
name: swift-tox-py36
|
||||||
@ -54,6 +62,10 @@
|
|||||||
vars:
|
vars:
|
||||||
tox_envlist: py36
|
tox_envlist: py36
|
||||||
bindep_profile: test py36
|
bindep_profile: test py36
|
||||||
|
tox_environment:
|
||||||
|
NOSE_COVER_HTML: 1
|
||||||
|
NOSE_COVER_HTML_DIR: '{toxinidir}/cover'
|
||||||
|
post-run: tools/playbooks/common/cover-post.yaml
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: swift-tox-func
|
name: swift-tox-func
|
||||||
@ -275,7 +287,6 @@
|
|||||||
|
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- openstack-cover-jobs
|
|
||||||
- publish-openstack-docs-pti
|
- publish-openstack-docs-pti
|
||||||
- periodic-stable-jobs
|
- periodic-stable-jobs
|
||||||
- check-requirements
|
- check-requirements
|
||||||
|
3
tools/playbooks/common/cover-post.yaml
Normal file
3
tools/playbooks/common/cover-post.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- role: fetch-coverage-output
|
Loading…
Reference in New Issue
Block a user