Skip to content

Commit

Permalink
Clean up coverage configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed Jan 24, 2023
1 parent 824eba7 commit c9b4c7a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit c9b4c7a

Please sign in to comment.