Skip to content

Commit

Permalink
log coverage paths as relative (since coverage is run within a docker…
Browse files Browse the repository at this point in the history
… container)
  • Loading branch information
tomkinsc committed Mar 21, 2024
1 parent 2cf1f54 commit f277561
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ branch = True
omit = tools/conda-tools/*
disable_warnings =
module-not-imported
relative_files = True
#data_file = '.coverage'

[report]
[paths]
source =
viral-phylo/
/opt/viral-ngs/viral-phylo

[report]
exclude_lines =
pragma: no cover

Expand All @@ -19,3 +25,5 @@ exclude_lines =

if 0:
if __name__ == .__main__.:

#include_namespace_packages = true # pytest >=7.0

0 comments on commit f277561

Please sign in to comment.