action #55643
closedPrevent duplicate codecov reports
0%
Description
Observation¶
in our pull requests it seems we are getting duplicate (or triple) reports from codecov, e.g. see https://github.com/os-autoinst/openQA/pull/2268#issuecomment-521982535 and two similar comments just below. I understand this can happen if both an old bot are activated along with the github app? As the bot runs under the account "coolo" we can look into this with him.
Updated by okurz over 5 years ago
- Copied from coordination #55364: [epic] Let's make codecov reports reliable added
Updated by okurz over 5 years ago
According to https://docs.codecov.io/docs/team-bot#section--github-users-why-am-i-getting-two-codecov-comments-on-my-pr-s- I thought in https://codecov.io/account/gh/os-autoinst/yaml I would need to write
codecov:
bot: null
but this is not accepted, getting error: "bot must be string"
Updated by okurz over 5 years ago
- Status changed from New to Feedback
- Assignee set to okurz
trying with
codecov:
bot: "null"
Updated by okurz over 5 years ago
- Status changed from Feedback to Resolved
The last did not really seem to help. However it seems we do not receive the separate codecov messages anymore at all for openQA since some recent changes regarding how we use circle CI. I first only observed that we do not receive duplicate ones anymore. However I never could make good use of them. The important part is the test details that still show the overall coverage and if the threshold is met, e.g. as seen in https://github.com/os-autoinst/openQA/pull/2462 . For os-autoinst we still have separate codecov reports but only single ones: https://github.com/os-autoinst/os-autoinst/pull/1257