diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..bbd4d2b6 --- /dev/null +++ b/.codecov.yml @@ -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 + + diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index ebfc5443..f9ec6323 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -39,6 +39,3 @@ jobs: with: directory: /tmp/cov/ name: nomos-node-codecov - fail_ci_if_error: true - -