Closed AMS21 closed 2 months ago
Hi @AMS21 ,
Your coberture report says that only line 20 exists, which is why we show it as covered. The gcov reports though show both lines 17 and 20 as code.
Did you update your test runner config or anything recently? I suspect you were only uploading cobertura XML before.
Hi, sorry for the late response.
No honestly I haven't updated the test runner config in ages. The only commits in that time frame are Dependabot updates for the GitHub Actions or other unrelated things.
Hmm.
Can you try adding plugin: noop
to the with:
section of your action config and see if that clears it up any?
Hmm.
Can you try adding
plugin: noop
to thewith:
section of your action config and see if that clears it up any?
Yes, that fixed the problem coverage is back to what it was before. Thanks for the quick (on your part) help.
Describe the bug C++ coverage erroneously contains the function header and shows it as missed.
Environment (please complete the following information):
ubuntu-24.04
with the officialcodecov-action@v4.5.0
To Reproduce Steps to reproduce the behavior:
Expected behavior Functions headers should be ignored as they cannot be hit.
Screenshots
Additional context Judging from the timeline this started somewhere between July 08 and July 15.