diff --git a/.zuul.yaml b/.zuul.yaml index 37f6957e2f..e284adec38 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -22,6 +22,10 @@ tools/test-setup.sh. vars: tox_envlist: py27 + tox_environment: + NOSE_COVER_HTML: 1 + NOSE_COVER_HTML_DIR: '{toxinidir}/cover' + post-run: tools/playbooks/common/cover-post.yaml - job: name: swift-tox-py27-centos-7 @@ -40,6 +44,10 @@ vars: tox_envlist: 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: name: swift-tox-py36 @@ -54,6 +62,10 @@ vars: tox_envlist: 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: name: swift-tox-func @@ -275,7 +287,6 @@ - project: templates: - - openstack-cover-jobs - publish-openstack-docs-pti - periodic-stable-jobs - check-requirements diff --git a/tools/playbooks/common/cover-post.yaml b/tools/playbooks/common/cover-post.yaml new file mode 100644 index 0000000000..946b0c1019 --- /dev/null +++ b/tools/playbooks/common/cover-post.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - role: fetch-coverage-output