Skip to content

Commit

Permalink
build:add codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hanchuanchuan committed Mar 9, 2019
1 parent 69c702e commit cf3a3b4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
codecov:
notify:
require_ci_to_pass: yes

coverage:
precision: 4
round: down
range: "60...90"

status:
project:
default:
threshold: 0.2 #Allow the coverage to drop by threshold%, and posting a success status.
patch:
default:
target: 0% # trial operation
changes: no


ignore:
- "LICENSES"
- "*_test.go"
- ".git"
- "*.yml"
- "*.md"
- "cmd/.*"
- "docs/.*"
- "vendor/.*"
- "ddl/failtest/.*"
- "ddl/testutil/.*"
- "executor/seqtest/.*"
- "metrics/.*"

0 comments on commit cf3a3b4

Please sign in to comment.