Skip to content

Commit

Permalink
update codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalcaliskan committed Jan 8, 2022
1 parent 9521d81 commit 31d489b
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions codecov.yml
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]

0 comments on commit 31d489b

Please sign in to comment.