]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add cephadmlib to tox coverage environment 61736/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 7 Feb 2025 16:41:41 +0000 (11:41 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Sun, 9 Feb 2025 18:53:56 +0000 (13:53 -0500)
When using the `coverage` tox environment we want to see the coverage
for the majority of the cephadm code. There is now a lot of code in
cephadmlib and so it makes sense to extend the default coverage report
to include cephadmlib.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/tox.ini

index d643b1ba74f9dcb29cdf605f2e7343a8deec1867..4cf5161e1714ec3979508320d3f1abc5b28eacc4 100644 (file)
@@ -70,7 +70,7 @@ deps =
   {[testenv]deps}
   pytest-cov
 commands =
-  pytest -v --cov=cephadm --cov-report=term-missing --cov-report=html {posargs}
+  pytest -v --cov=cephadm --cov=cephadmlib --cov-report=term-missing --cov-report=html {posargs}
 
 [testenv:check-black]
 deps =