diff --git a/tox.ini b/tox.ini index ecb37903..212109b8 100644 --- a/tox.ini +++ b/tox.ini @@ -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}