Skip to content

Commit

Permalink
Tests changes to codecov file. Fix pre-commit script to spit out errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gilmer committed Jun 12, 2019
1 parent 2f57491 commit 68c13a5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@ codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: nearest
precision: 1
round: up
range: "50...70"

status:
project:
default: false # disable the default status that measures entire project
go: # declare a new status context "go"
threshold: 1%
paths: "pkg/" # only include coverage in "pkg/" folder
patch:
default: false # disable the default status that measures patch
go: # declare a new status context "go"
threshold: 1%
paths: "pkg/" # only include coverage in "pkg/" folder
patch: yes
changes: no

parsers:
Expand All @@ -24,6 +29,6 @@ parsers:
macro: no

comment:
layout: "header, diff"
layout: "header, diff, files"
behavior: default
require_changes: yes # only post a comment if the coverage changes on a PR

0 comments on commit 68c13a5

Please sign in to comment.