Skip to content

Commit

Permalink
Configure codecov
Browse files Browse the repository at this point in the history
This is based on the default config, there is only two changes:
  - Increase of threshold to two percent, since sometime our coverage
  vary randomly...
  - Lower patch code coverage requirements to 25%, to prevent the red
  cross effect
  • Loading branch information
kinnou02 committed Jan 10, 2019
1 parent 422dd6a commit ca68d20
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
codecov:
notify:
require_ci_to_pass: yes

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

status:
project:
default:
target: auto
threshold: 2
base: auto
patch:
default:
target: 25%
threshold: null
base: auto
changes: no

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

comment:
layout: "header, diff"
behavior: default
require_changes: no

0 comments on commit ca68d20

Please sign in to comment.