From 5b39507a17798c760699765598cd729edc85e455 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 6 Oct 2022 15:16:41 +0000 Subject: [PATCH] tox: generate coverage report for all the plugins (#1121) (#1131) [PR #1121/0ee69813 backport][stable-5] tox: generate coverage report for all the plugins This is a backport of PR #1121 as merged into main (0ee6981). Include all the plugins in the coverage report, including those with zero coverage currently. Reviewed-by: Mark Chappell --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index eb08d5a203d..292a970010d 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ deps = pytest-ansible-units -rtest-requirements.txt with_constraints: -rtests/unit/constraints.txt -commands = pytest --cov-report html --cov plugins {posargs:tests/} +commands = pytest --cov-report html --cov plugins/callback --cov plugins/inventory --cov plugins/lookup --cov plugins/module_utils --cov plugins/modules plugins {posargs:tests/} [testenv:clean] deps = coverage