Why is patch 0.00% with a red X?

Description

I have a PR which just renames some variables so doesn’t affect test coverage. The codecov/patch check has a red X. I would expect it to be a green checkmark since coverage didn’t change.

Repository

https://github.com/catalyticlabs/catalytic-sdk-php/pull/45

CI/CD

Github actions

Uploader

codecov/codecov-action@v1

Commit SHAs

Please include the commit SHA(s)

Codecov YAML

ignore:
    - lib/generated

Codecov Output

Please provide the full output of running the uploader on your CI/CD

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Hi @toymachiner62, the reason you’re getting is 0% is that we see the diff as lines removed and lines added. Unfortunately, the lines “added” weren’t covered before and also aren’t covered now.

I realize that the lines were just modified, but we are currently unable to make that distinction in our differ.