-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9521d81
commit 31d489b
Showing
1 changed file
with
24 additions
and
7 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,13 +1,30 @@ | ||
--- | ||
|
||
codecov: | ||
require_ci_to_pass: yes | ||
branch: master | ||
|
||
comment: | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
|
||
coverage: | ||
range: 50..80 | ||
round: down | ||
precision: 0 | ||
status: | ||
project: | ||
default: | ||
# Set the overall project code coverage requirement to 70% | ||
target: 80 | ||
patch: | ||
default: | ||
# Set the pull request requirement to not regress overall coverage by more than 5% | ||
# and let codecov.io set the goal for the code changed in the patch. | ||
target: auto | ||
threshold: 8 | ||
|
||
ignore: | ||
- cmd/**/* | ||
- main.go | ||
- internal/raw/constants.go | ||
|
||
comment: # this is a top-level key | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
require_changes: false # if true: only post the comment if coverage changes | ||
require_base: no # [yes :: must have a base report to post] | ||
require_head: yes # [yes :: must have a head report to post] |