From c9b4c7a12461a645a8c3368064818c84dcffeb0b Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Tue, 24 Jan 2023 12:47:30 -0800 Subject: [PATCH] Clean up coverage configuration Signed-off-by: Alex Forencich --- setup.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 37462b6..3054b5c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -74,13 +74,19 @@ deps = pytest-cov == 4.0.0 commands = - pytest --cov=cocotbext --cov=tests --cov-branch {posargs:-n auto --verbose} + pytest {posargs:-n auto --verbose} bash -c 'find . -type f -name "\.coverage" | xargs coverage combine --append' coverage report allowlist_externals = bash +[coverage:run] +branch = True +source = + cocotbext.axi + tests + # combine if paths are different [coverage:paths] source =