Skip to content

Commit

Permalink
Relax codecov config
Browse files Browse the repository at this point in the history
  • Loading branch information
bdmendes committed Aug 22, 2023
1 parent 8518f37 commit 8c1a759
Showing 1 changed file with 33 additions and 4 deletions.
37 changes: 33 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
# see https://docs.codecov.io/docs/codecov-yaml
# Validation check:
# $ curl --data-binary @codecov.yml https://codecov.io/validate

ignore:
- "**/*.g.dart"
- "!**/lib/**" # ignore all files outside of lib

codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes

coverage:
precision: 0 # 2 = xx.xx%, 0 = xx%
round: up # how coverage is rounded: down/up/nearest
range: 40...100 # custom range of coverage colors from red -> yellow -> green
status:
project:
default:
informational: true
target: 70% # specify the target coverage for each commit status
threshold: 10% # allow this decrease on project
if_ci_failed: error
patch:
default:
informational: true
threshold: 50% # allow this decrease on patch
changes: false

github_checks:
annotations: false

comment:
layout: "diff, flags, files"
behavior: default
layout: header, diff
require_changes: false
require_base: false
require_head: true
behavior: default

0 comments on commit 8c1a759

Please sign in to comment.