From 54466e9061864509af9915f06a3fc67c26bbb915 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 7 Feb 2024 12:28:39 +0900 Subject: [PATCH] Print coverage report ... for easy reference. Also make sure old data is erased before executing tests. Change-Id: I49e736c7c3788e4c301fb6a0cf57c99d0d9bc280 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index f80df63..00a5121 100644 --- a/tox.ini +++ b/tox.ini @@ -26,10 +26,12 @@ commands = {posargs} setenv = PYTHON=coverage run --source $project --parallel-mode commands = + coverage erase stestr run '{posargs}' coverage combine coverage html -d cover coverage xml -o cover/coverage.xml + coverage report [testenv:docs] deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}