From 15d2488b4c04e6c33c1bf115cd9ec3dde7cec490 Mon Sep 17 00:00:00 2001 From: Alexey Stepanov Date: Mon, 12 Sep 2016 12:26:59 +0300 Subject: [PATCH] Prepare coverage target to gating 1. Use minumal level: 65% 2. Write html report for gates logs page Change-Id: Icb5d570cf0af84780670915dfaf9f0a385fb509e --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 39e96b02..239354c5 100644 --- a/tox.ini +++ b/tox.ini @@ -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]