Skip to content

Commit

Permalink
Fix coverage collection
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Feb 19, 2024
1 parent 621764b commit 1919b93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dev = [
[tool.coverage]
report = {skip_covered = true, sort = "cover"}
run = {branch = true, parallel = true, source = [
"hipct-reg",
"hipct_reg",
]}
paths.source = [
"src",
Expand All @@ -64,6 +64,8 @@ addopts = """
--color=yes
--import-mode=importlib
--verbose
--cov
--cov-report=xml
"""
testpaths = [
"tests",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ python =

[testenv]
commands =
pytest --cov --cov-report=xml
pytest
extras = test

[tox]
Expand Down

0 comments on commit 1919b93

Please sign in to comment.