diff --git a/.zuul.yaml b/.zuul.yaml index 7c3412e..1940796 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,5 +1,6 @@ - project: templates: + - openstack-cover-jobs - openstack-python37-jobs - openstack-python3-wallaby-jobs check: diff --git a/tox.ini b/tox.ini index 1f1a23b..5775335 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,7 @@ commands = whitelist_externals = bash + find distribute = false [testenv:pep8] @@ -29,10 +30,13 @@ commands = {posargs} [testenv:cover] basepython = python3 +setenv = + {[testenv]setenv} + PYTHON=coverage run --source refstack_client --parallel-mode commands = coverage erase find . -type f -name "*.pyc" -delete - stestr --test-path ./refstack_client/tests run {posargs} + stestr run {posargs} coverage combine coverage html -d cover coverage xml -o cover/coverage.xml