Commit Graph

5 Commits

Author SHA1 Message Date
Dmitry Vyukov
bed103955b codecov.yml: suppress coverage errors even more
We are still getting nacks from codecov on PRs after the previous commit.
Try to add patch section to prevent failures.
2020-07-01 22:57:25 +02:00
Dmitry Vyukov
39acb39de2 codecov.yml: suppress coverage errors more
Somehow informational:true is not enough to not produce errors.
We are constantly getting nacks on PRs like:
  x codecov/patch — 59.2% of diff hit (target 65.3%)
Add back and relax target and treshold.
2020-07-01 13:55:27 +02:00
Dmitry Vyukov
5ee7e3e388 codecov.yml: switch to informational mode
Informational mode should always produce "pass" result:
https://docs.codecov.io/docs/commit-status#informational

I can't get anything useful of these notifications.
E.g. now we have patches that add 1 line,
which gives 0% patch coverage, which results in a failure.
But we have some packages/commands not tested at all,
so we can't require contributors to make that covered.

For overall project coverage I also have not seen
any useful pass/fail results. The criteria highly depends
on the nature of the change. If we set the threshold too low,
we will get lots of effectively false failures. The current 50%
setting effectively means "never fail" anyway.
2020-06-17 17:18:23 +02:00
Dmitry Vyukov
e8d36083fd codecov.yml: tidy github comment format 2020-06-03 11:59:09 +02:00
Dmitry Vyukov
848ec2e87b tools/codecov.yml: fix format
Merge 2 coverage sections.
2020-05-18 11:34:42 +02:00