Update codecov.yml

This commit is contained in:
Abubakar Abid 2021-12-23 07:41:19 -06:00 committed by GitHub
parent abec35b262
commit 3fd7028c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,4 +2,18 @@ coverage:
range: 0..100
round: down
precision: 2
status:
project:
default: false # disable the default status that measures entire project
source:
paths:
- "gradio/"
target: 80%
threshold: 0.1
patch:
default:
target: 50% # new contributions should have a coverage at least equal to 50%
comment: false
codecov:
require_ci_to_pass: yes