Skip to content

Instantly share code, notes, and snippets.

@renanvieira
Created June 3, 2019 15:13
Show Gist options
  • Save renanvieira/22e7cd42406d93f5e00dc462fb379f77 to your computer and use it in GitHub Desktop.
Save renanvieira/22e7cd42406d93f5e00dc462fb379f77 to your computer and use it in GitHub Desktop.
# https://docs.codecov.io/docs/codecov-yaml
codecov:
max_report_age: off
notify:
require_ci_to_pass: yes
comment:
layout: "reach, diff, files"
behavior: new
require_changes: true # 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]
branches: null # branch names that can post comment
coverage:
precision: 2
round: down
range: "80...100"
status:
project:
default: false # disable the default status that measures entire project
tests: # declare a new status context "tests"
target: 80% # we always want 100% coverage here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment