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
The root cause isn't the import of os, it's specifically the call to os.Clearenv that results in rules_go's coverage handler writing the coverage file into the wrong location. I have a fix out at #3820.
While running coverage on a pkg that use the
os
module, coverage is not outputed.What version of rules_go are you using?
0.44.2
What version of gazelle are you using?
0.35.0
What version of Bazel are you using?
7.0.0
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Darwin / arm64
What did you do?
Please see this repository for reproduction:
https://github.com/supercairos/bazelgoperfectcoverage
running
bazel coverage //...
don't produce any coverage.What did you expect to see?
Some coverage produced
What did you see instead?
No coverage produced
The text was updated successfully, but these errors were encountered: