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
This commit is contained in:
Jeremy Liu 2017-01-13 10:44:46 +08:00
parent e1e33a4823
commit e81b81a027
1 changed files with 3 additions and 1 deletions

View File

@ -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.