Disable codecov annotations (#409)

* Add codecov config and disable gh annotations

* Allow some deviation in test coverage
This commit is contained in:
gusto 2023-09-15 15:11:50 +03:00 committed by GitHub
parent 8c4d1577df
commit 90529dada3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 3 deletions

19
.codecov.yml Normal file
View File

@ -0,0 +1,19 @@
github_checks:
annotations: false
# configuration related to pull request comments
comment: yes
coverage:
range: 40..90 # coverage lower than 40 is red, higher than 90 green, between color code
status:
project: # settings affecting project coverage
default:
target: auto # auto % coverage target
threshold: 5% # allow for 5% reduction of coverage without failing
# do not run coverage on patch nor changes
patch: false

View File

@ -39,6 +39,3 @@ jobs:
with:
directory: /tmp/cov/
name: nomos-node-codecov
fail_ci_if_error: true