Skip to content

Commit

Permalink
site: tune codecov settings (projectcontour#2512)
Browse files Browse the repository at this point in the history
Add a default codecov settings file, and make the `codecov/project`
status informational, since it otherwise makes CI look broken.

Signed-off-by: James Peach <jpeach@vmware.com>
  • Loading branch information
jpeach authored May 11, 2020
1 parent 28982b8 commit e6d1c78
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

# https://docs.codecov.io/docs/commit-status#informational
status:
project:
default:
informational: true

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no

0 comments on commit e6d1c78

Please sign in to comment.