summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJeremy Liu <liujiong@gohighsec.com>2017-01-13 10:44:46 +0800
committerJeremy Liu <liujiong@gohighsec.com>2017-01-13 14:14:21 +0800
commite81b81a027565d91e20ad55fc7c985b7e6da7e98 (patch)
tree73baf41e3de8b253325291be6b90f0360c078bed /tox.ini
parente1e33a4823aed579e6d4c23fb6a486ef537d281c (diff)
downloadpython-novaclient-e81b81a027565d91e20ad55fc7c985b7e6da7e98.tar.gz
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 8add2572..fdc89d52 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.