From: John Mulligan Date: Fri, 7 Feb 2025 16:41:41 +0000 (-0500) Subject: cephadm: add cephadmlib to tox coverage environment X-Git-Tag: v20.0.0~204^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=42d338478b0522cdb4ed528dddd056213b9bbfd2;p=ceph.git cephadm: add cephadmlib to tox coverage environment 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 --- diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index d643b1ba74f9..4cf5161e1714 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -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 =