Repository navigation
Place gems under ~/.local/share/rv/gems/ if the dir under ~/.gem/ is not present. - #231
Conversation
… is not present. Addresses spinel-coop#226
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
@indirect: Two things:
|
Okay, I think I figured out an idiomatic way to do this: c8ce7a6 The tests are already performing string replacement to normalize the temp dir, so it wasn't too much of a stretch to extend this to a unique temp dir. |
61bd479 to
c8ce7a6
Compare
|
I have no idea what the code coverage tool is on about. This PR adds a bit of implementation code, and all new/changed code is tested. It shows coverage of these lines going down, which sounds bogus to me. |
|
I had the same issue yesterday with #229. I wonder if it's related to integration tests not properly recording coverage? I recall similar issues in Ruby with getting integration tests to record coverage when covered code would run in a subprocess. Not sure if our integration tests do that, but just mentioning it as an idea. |
|
Ohh, right, @adamchalmers was telling me about this a few days ago I think—the tests that shell out to rv don't record coverage right now, we still need to switch the tests to running rv subcommands in-process to get accurate coverage reports for those. |
indirect
left a comment
There was a problem hiding this comment.
Looks good, thanks for setting this up!
|
I'll try dedicate some time into improving code coverage so it's actually accurate, because the issue seems to be coming up in most PRs. |
Addresses #226