codecov: add configuration file

And allow the Codecov to post results even if some of our jobs or
workflows are failing.
This commit is contained in:
Anna Shaleva 2022-02-02 13:01:29 +03:00
parent 152cebe4e2
commit 47465b8db9

11
codecov.yml Normal file
View file

@ -0,0 +1,11 @@
codecov:
require_ci_to_pass: no # We have several CI jobs that upload codecov results,
# and sometimes some of them may fail, it's OK.
coverage:
status:
project:
default: # This can be anything, but it needs to exist as the name
if_ci_failed: error #success, failure, error, ignore
only_pulls: false
comment:
after_n_builds: 1