Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Update .codecov.yml (#1006)

Edgar Ribac1c8799c5146
diff --git a/.codecov.yml b/.codecov.yml
index 0da8e156e..bdb5074d4 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -1,15 +1,51 @@
+# see https://docs.codecov.io/docs/codecov-yaml
+# Validation check:
+# $ curl --data-binary @.codecov.yml https://codecov.io/validate
+
+
+# https://docs.codecov.io/docs/codecovyml-reference
+codecov:
+ bot: "codecov-io"
+ strict_yaml_branch: "yaml-config"
+ require_ci_to_pass: yes
+ notify:
+ # after_n_builds: 2
+ wait_for_ci: yes
+
coverage:
- precision: 2
- round: down
- range: "95...100"
+ precision: 0 # 2 = xx.xx%, 0 = xx%
+ round: nearest # how coverage is rounded: down/up/nearest
+ range: 40...100 # custom range of coverage colors from red -> yellow -> green
status:
- patch:
- default:
- target: 90
+ # https://codecov.readme.io/v1.0/docs/commit-status
project:
default:
- threshold: 1%
+ against: auto
+ target: 99% # specify the target coverage for each commit status
+ threshold: 30% # allow this little decrease on project
+ # https://github.com/codecov/support/wiki/Filtering-Branches
+ # branches: master
+ if_ci_failed: error
+ # https://github.com/codecov/support/wiki/Patch-Status
+ patch:
+ default:
+ against: auto
+ target: 50% # specify the target "X%" coverage to hit
+ # threshold: 50% # allow this much decrease on patch
changes: false
-comment: false
-ignore:
- - "tests/"
+
+parsers:
+ gcov:
+ branch_detection:
+ conditional: true
+ loop: true
+ macro: false
+ method: false
+ javascript:
+ enable_partials: false
+
+comment:
+ layout: header, diff
+ require_changes: false
+ behavior: default # update if exists else create new
+ # branches: *