You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When github actions triggers on pull_request rather than push github sets the ref to refs/remotes/pull/:id/merge which is the test merge of the PR.
In our case when code changed between the PR's merge base and the current head of the target branch, codecov doesn't seem to figure out that the coverage data being submitted wasn't actually for the HEAD of the PR branch, and creates really funky results.
I've tried overriding the commit when calling the action with github.sha which points to the code being checked out, but this doesn't seem to have any effect.
codecov-action/src/buildExec.ts
Lines 132 to 139 in e3c5604
Coverage changed in #690 for seemingly no reason. The reports say otherwise:
The text was updated successfully, but these errors were encountered: