Reuse test commands in cover target

... to maintain the commands in a single place.

Change-Id: I3da4278bac6c8038805c6034ccd83a4509af7eb7
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami committed 2026-10-03 10:38:12 +09:00
1 parent 55daef2301
commit dbb40272ec
1 file changed
+2 -2
+2 -2
View File
@@ -22,12 +22,12 @@ commands =
[testenv:cover]
deps =
{[testenv]deps}
coverage>=5.0
coverage>=5.0 # Apache-2.0
setenv =
PYTHON=coverage run --source taskflow --parallel-mode
commands =
coverage erase
stestr run {posargs}
{[testenv]commands}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml