From 8a42e5ae40f2b299ad0b3adb2cfbedf0a89ad533 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 7 Feb 2024 12:18:52 +0900 Subject: [PATCH] Use consistent commands for coverage This updates the command executed in the cover target to make these more consistent with the other repos. The main change is now we ensure old data is erased before executing the steps. Change-Id: I2c2b8a60ddfda9b8184e61113d11a7bdafe113c7 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4889a54c..7bd7d1aa 100644 --- a/tox.ini +++ b/tox.ini @@ -38,10 +38,11 @@ commands = setenv = PYTHON=coverage run --source oslo_policy --parallel-mode commands = + coverage erase stestr run --slowest {posargs} coverage combine coverage html -d cover - coverage report + coverage report --show-missing [flake8] show-source = True