Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial coverage is broken in a C project #513

Open
bqqbarbhg opened this issue Sep 16, 2024 · 0 comments
Open

Partial coverage is broken in a C project #513

bqqbarbhg opened this issue Sep 16, 2024 · 0 comments

Comments

@bqqbarbhg
Copy link

Describe the bug

I've been using Codecov to test ufbx for years and it has been quite stable so far.

A few days ago my partial coverage fully disappeared in all new uploads, see this example PR, which does not change any code related to coverage.

@@               Coverage Diff               @@
##           integration     #156      +/-   ##
===============================================
+ Coverage        95.41%   99.14%   +3.73%     
===============================================
  Files                2        2              
  Lines            17081    17081              
  Branches          5339     5339              
===============================================
+ Hits             16297    16935     +638     
  Misses             146      146              
+ Partials           638        0     -638     

Environment (please complete the following information):

Partial coverage is missing both in GitHub comments and in the Codecov website.

The coverage is uploaded from GitHub actions via https://codecov.io/bash, as the upload action is broken in self-hosted runners for some reason.
There is an extra -y flag passed to the script, but it does detect the correct codecov.yml anyways.
I have fixed that in another PR, where the issue reproduces as well (but in this one there are a lot of content changes as well).

To Reproduce

  • codecov.yml
  • Uploaded via bash <(curl -s https://codecov.io/bash) -F tests -f coverage.lcov.

Expected behavior

Partially covered lines are retained in uploaded coverage, as they have been a few days ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

1 participant