0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
David Allison
1107d61e97 ci: stop codecov from failing CI
Our code coverage fluctuates, meaning that CI is often shown as failed
even on no-op operations

This is bad for our developer experience: we can't trust CI status to
be reporting correctly, and this slows fixing actual issues

So, we mark codecov as 'informational' so only 'real' CI failures are
shown to users

> If `true` is specified the resulting status will pass no matter what
> the coverage is or what other settings are specified. Informational
> mode is great to use if you want to expose codecov information to
> other developers in your pull request without necessarily gating PRs
> on that information.

https://docs.codecov.com/docs/commit-status#informational

Related issue: 12227 - fixing the flakiness in other ways
2022-08-29 09:22:33 -05:00
David Allison
6aec2cf7a6 coverage: disable noisy annotations on PRs
Most PRs had annotations added on each branch which did not have
coverage

This added more noise to the PR, and was not helpful, as we aren't yet
going for 100% coverage, it made reviews harder, and probably
alienated new contributors

https://docs.codecov.io/docs/github-checks-beta

Fixes #8296
2021-03-27 09:45:48 -05:00
Mike Hardy
ddbb860957
test: disable diff comments from codecov, handle unit test variability
Supercedes #8190
2021-03-19 13:51:17 -05:00
Mike Hardy
b9cc10b93c Set codecov coverage range minimum to current coverage 2020-12-29 11:43:23 -05:00