Prepare coverage target to gating

1. Use minumal level: 65%
2. Write html report for gates logs page

Change-Id: Icb5d570cf0af84780670915dfaf9f0a385fb509e
This commit is contained in:
Alexey Stepanov 2016-09-12 12:26:59 +03:00
parent 79bd33a187
commit 15d2488b4c
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,10 @@ commands = {posargs}
basepython = python2
[testenv:cover]
commands = py.test --cov octane
commands =
py.test --cov octane --cov-report=
coverage html -d {envlogdir}
coverage report --fail-under 65
basepython = python2
[flake8]