Install coverage only when needed

The coverage library is used only in the "cover" target.

Change-Id: I5c491587ed25c95fe2485e7979e0152917a9928c
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-10-03 23:31:22 +09:00
parent 93b0be8293
commit 1965307ccf
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,3 @@
coverage>=4.4.1 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
oslo.messaging[kafka]>=8.0.0 # Apache-2.0
oslotest>=3.8.0 # Apache-2.0

View File

@@ -24,6 +24,9 @@ commands =
allowlist_externals = bash
[testenv:cover]
deps =
{[testenv]deps}
coverage>=4.4.1 # Apache-2.0
setenv =
PYTHON=coverage run --source ceilometer --parallel-mode
commands =