-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify coverage rule to combine results
We can specify a rule to map different source files from which coverage stats were collected to the same source file in our repository.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
[run] | ||
# this file comes from versioneer and we don't test it | ||
omit = */_version.py | ||
|
||
[paths] | ||
# This tells coverage how to combine results together or said differently | ||
# which files at different paths are actually the same file | ||
# documented at https://coverage.readthedocs.io/en/latest/config.html#paths | ||
source = | ||
repo2docker/ | ||
/opt/hostedtoolcache/Python/*/site-packages/repo2docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters