Skip to content

Commit

Permalink
enable branching codecov, with a small change tolerance
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.mystic.cacr.caltech.edu/pathos/dill@1262 8bfda07e-5b16-0410-ab1d-fd04ec2748df
  • Loading branch information
mmckerns committed Oct 11, 2019
1 parent fb77739 commit 75d71c8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
comment: false

coverage:
status:
project:
default:
# Commits pushed to master should not make the overall
# project coverage decrease by more than 1%:
target: auto
threshold: 1%
patch:
default:
# Be tolerant on slight code coverage diff on PRs to limit
# noisy red coverage status on github PRs.
# Note The coverage stats are still uploaded
# to codecov so that PR reviewers can see uncovered lines
# in the github diff if they install the codecov browser
# extension:
# https://github.com/codecov/browser-extension
target: auto
threshold: 1%

4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include = */dill/*
omit =
*/tests/*
*/info.py
branch = true
# timid = true
# parallel = true # and need to 'combine' data files
# concurrency = multiprocessing # thread
Expand All @@ -13,6 +14,9 @@ omit =
[report]
exclude_lines =
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
# show_missing = true
ignore_errors = true
# pragma: no branch
# noqa

0 comments on commit 75d71c8

Please sign in to comment.