diff --git a/tox.ini b/tox.ini index b9c6b46a..68181ca1 100644 --- a/tox.ini +++ b/tox.ini @@ -44,11 +44,14 @@ commands = [testenv:venv] commands = {posargs} -[testenv:cover] +[testenv:gen-cover] commands = python setup.py testr --coverage \ --omit='{toxinidir}/refstack/tests*,{toxinidir}/refstack/api/config.py,{toxinidir}/refstack/db/migrations/alembic/env.py,{toxinidir}/refstack/opts.py' \ --testr-args='{posargs}' +[testenv:cover] +commands = {toxinidir}/tools/cover.sh {posargs} + [testenv:docs] commands = python setup.py build_sphinx