optimize: add codecov.yml and badge (#42)

This commit is contained in:
jimin
2022-11-10 10:04:35 +08:00
committed by GitHub
parent 6415be9537
commit cdad934567
3 changed files with 24 additions and 0 deletions

20
codecov.yml Normal file
View File

@@ -0,0 +1,20 @@
codecov:
require_ci_to_pass: yes
coverage:
status:
patch: no
project:
default:
target: auto
threshold: 1%
if_not_found: success
changes: no
precision: 2
round: down
range: 50..100
ignore:
- "helm/**"
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no