From e94454d3a198ff9517b5e9e990c836728cebac61 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 4 Oct 2026 03:56:38 +0900 Subject: [PATCH] Fix cover target The target now consistently fails due to no data captured. Change-Id: I4ce3a755ceb4ed729cff30fde78dc99cb05b5722 Signed-off-by: Takashi Kajinami --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d1729f98..c884a755 100644 --- a/tox.ini +++ b/tox.ini @@ -61,13 +61,15 @@ commands = sphinx-build -a -E -W --keep-going -b html releasenotes/source releasenotes/build/html [testenv:cover] +setenv = + PYTHON=coverage run --source oslo_log --parallel-mode commands = coverage erase {[testenv]commands} coverage combine coverage html -d cover coverage xml -o cover/coverage.xml - coverage report --show-missing + coverage report [flake8] show-source = True