Skip to content

Commit

Permalink
add codecov config file
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Feb 10, 2022
1 parent 16e03c5 commit 85acc98
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#
# This codecov.yml is the default configuration for
# all repositories on Codecov. You may adjust the settings
# below in your own codecov.yml in your repository.
#
coverage:
precision: 2
round: down
range: 70...100

status:
# Learn more at https://docs.codecov.io/docs/commit-status
project:
default:
threshold: 1% # allow this much decrease on project
modules:
target: 70%
flags:
- modules
changes: false

comment:
layout: "reach, diff, files"
behavior: default # update if exists else create new
require_changes: true

flags:
modules:
paths:
- "module/x/**"
- "!module/x/**/client/" # ignore client package

ignore:
- "docs"
- "*.md"
- "cmd"
- "**/*.pb.go"
- "**/*.pb.gw.go"
- "types/*.pb.go"
- "x/**/*.pb.gw.go"

0 comments on commit 85acc98

Please sign in to comment.