Remove run-cover role

This doesn't appear to be used any place any more.

Change-Id: I64719f7199afb2bd06194f784c24eee9f21579bb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-07-13 15:37:07 -04:00
parent e680449351
commit 18d9d8df3d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 0 additions and 33 deletions

View File

@ -1,3 +0,0 @@
---
tox_environment: cover
zuul_work_dir: "src/{{ zuul.project.canonical_name }}"

View File

@ -1,30 +0,0 @@
- name: Run code coverage
args:
chdir: "{{ zuul_work_dir }}"
shell: |
#!/bin/bash -xe
# Run coverage via tox. Also, run pbr freeze on the
# resulting environment at the end so that we have a record of exactly
# what packages we ended up testing.
export NOSE_COVER_HTML=1
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
venv={{ tox_environment }}
# Workaround the combo of tox running setup.py outside of virtualenv
# and RHEL having an old distribute. The next line can be removed
# when either get fixed.
python setup.py --version
tox -e$venv
result=$?
[ -e .tox/$venv/bin/pbr ] && freezecmd=pbr || freezecmd=pip
echo "Begin $freezecmd freeze output from test virtualenv:"
echo "======================================================================"
.tox/${venv}/bin/${freezecmd} freeze
echo "======================================================================"
exit $result