[testing] investigate coverage inconsistency. #14756
Labels
area/testing
kind/engineering
Work that is not visible to an external user
resolution/fixed
This issue was fixed
Milestone
What happened?
Pulumi CodeCov reports still fluctuate across runs.
source_query.go is reported with 0% coverage despite the following tests https://github.com/pulumi/pulumi/blob/0b250fcf2a881aa1e73582e6e477749d31af9062/pkg/resource/deploy/source_query_test.go
I suspect gotestyourself/gotestsum#274 is the culprit as gotestsum re-runs failed tests and prior passed tests are ignored.
Example
https://github.com/pulumi/pulumi/actions/runs/7100733481/job/19327776558
CI / Unit Test / pkg 2/7 on ubuntu-latest/current
DONE 2 runs, 852 tests, 9 skipped, 9 failures in 670.888s
CodeCov report (0% source_query.go)
https://app.codecov.io/github/pulumi/pulumi/commit/0b250fcf2a881aa1e73582e6e477749d31af9062/blob/pkg/resource/deploy/source_query.go
Output of
pulumi about
n/a
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: