-
Notifications
You must be signed in to change notification settings - Fork 404
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
Use tools/go/packages in place of go/build #486
Conversation
@@ -222,7 +200,7 @@ func TestGoBuildIsSupportedRefWithModules(t *testing.T) { | |||
for _, importpath := range []string{ | |||
"ko://github.com/google/ko/pkg/build", // not a command. | |||
"ko://github.com/google/ko/pkg/nonexistent", // does not exist. | |||
"ko://github.com/google/ko", // not in this module. | |||
"ko://github.com/google/go-github", // not in this module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really sure about this, we're not mocking the module anymore and so ko://github.com/google/ko
is buildable
Codecov Report
@@ Coverage Diff @@
## main #486 +/- ##
==========================================
- Coverage 53.11% 52.35% -0.76%
==========================================
Files 36 36
Lines 1847 1801 -46
==========================================
- Hits 981 943 -38
+ Misses 715 710 -5
+ Partials 151 148 -3
Continue to review full report at Codecov.
|
9de1e1c
to
eb3e456
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @benmoss! I've added a few comments regarding working directories.
Signed-off-by: Ben Moss <[email protected]>
Fixes #305
Turned out to be easier than I thought, assuming I understand anything 😸