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:
parent
e1e33a4823
commit
e81b81a027
4
tox.ini
4
tox.ini
@ -57,7 +57,9 @@ setenv =
|
|||||||
commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
|
commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}'
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands =
|
||||||
|
python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
coverage report
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# Following checks should be enabled in the future.
|
# Following checks should be enabled in the future.
|
||||||
|
Loading…
Reference in New Issue
Block a user