From e81b81a027565d91e20ad55fc7c985b7e6da7e98 Mon Sep 17 00:00:00 2001 From: Jeremy Liu Date: Fri, 13 Jan 2017 10:44:46 +0800 Subject: [PATCH] Enable coverage report in console output Currently, the coverage test job doesn't provide any test result to developer, we could enable coverage report in console output to let the developer know the coverage status when running coverage test job. Change-Id: I12764de112e948129e21732faae03562649522fc --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8add2572d..fdc89d520 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,9 @@ setenv = commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}' [testenv:cover] -commands = python setup.py testr --coverage --testr-args='{posargs}' +commands = + python setup.py testr --coverage --testr-args='{posargs}' + coverage report [flake8] # Following checks should be enabled in the future.