While creating a new pull request several times, it happens that the codecov has reported negative coverage for files that have not been modified at all. It also varies, sometimes codecov is positive and sometimes is not.
Here is a PR link (https://github.com/eclipse/kapua/pull/2937), it is an open-source project.
After creating the PR on eclipse / kapua official repo, codecov generates negative coverage. Meanwhile, I tried to do the same PR to my forked develop and there codecov works without problems (https://github.com/code-incubus/kapua/pull/3).
The question is why codecov generate and show negative reports / or missed lines. if the new tests were added and if the CI passed correctly?
Please advise for any hint regarding this issue.
My forked project:
I am also submitting a .yaml file configuration …