From c6c9877dac086057277549a40fd4da7a62754503 Mon Sep 17 00:00:00 2001 From: sslypushenko Date: Tue, 14 Feb 2017 21:18:19 +0200 Subject: [PATCH] Update coverage job Rename old coverage job to gen-cover. Setup new cover job which should use tool/cover.sh. Change-Id: I52f6e87b797270c784f0af9ad6fa788d9435dab5 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 28d09acc..252bce94 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