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

Share VMTEST_GOCOVERDIR with VM instead of GOCOVERDIR #98

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Conversation

hugelgupf
Copy link
Owner

When running VM tests with GOCOVERDIR=$x go test -cover, Go overrides the GOCOVERDIR for the test process, but does not share the coverage data in any way.

Upstream issue is golang/go#60182

When running VM tests with `GOCOVERDIR=$x go test -cover`, Go overrides
the GOCOVERDIR for the test process, but does not share the coverage
data in any way.

Upstream issue is golang/go#60182

Signed-off-by: Chris Koch <chrisko@google.com>
Copy link

codecov bot commented Jan 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (af94139) 72.43% compared to head (2c3f300) 72.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
+ Coverage   72.43%   72.61%   +0.18%     
==========================================
  Files          18       18              
  Lines        1110     1110              
==========================================
+ Hits          804      806       +2     
+ Misses        245      244       -1     
+ Partials       61       60       -1     
Flag Coverage Δ
amd64-1.21.x 72.25% <100.00%> (+0.18%) ⬆️
arm-1.21.x 72.07% <100.00%> (+0.18%) ⬆️
arm64-1.21.x 72.07% <100.00%> (+0.18%) ⬆️
riscv64-1.21.x 71.17% <100.00%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hugelgupf hugelgupf merged commit 89f92b3 into main Jan 27, 2024
16 checks passed
@hugelgupf hugelgupf deleted the vmcov branch January 27, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant