Merge "Improving cover testenv"

This commit is contained in:
Jenkins 2017-07-13 11:22:10 +00:00 committed by Gerrit Code Review
commit 276cff6a95
1 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,8 @@ setenv =
BRANCH_NAME=master
CLIENT_NAME=oslo.vmware
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
whitelist_externals = find
rm
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
@ -31,8 +33,11 @@ commands = python setup.py build_sphinx
[testenv:cover]
commands =
coverage erase
find . -type f -name "*.pyc" -delete
python setup.py test --coverage --coverage-package-name=oslo_vmware --testr-args='{posargs}'
coverage report
[testenv:venv]
commands = {posargs}