-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix compile failed without gcc #3130
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3130 +/- ##
==========================================
+ Coverage 34.83% 34.84% +<.01%
==========================================
Files 274 275 +1
Lines 40026 40028 +2
==========================================
+ Hits 13943 13946 +3
+ Misses 24085 24084 -1
Partials 1998 1998
Continue to review full report at Codecov.
|
LGTM |
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.
Sorry, I should have looked more closely before giving a LGTM
@@ -131,7 +131,8 @@ fmt-check: | |||
|
|||
.PHONY: test | |||
test: | |||
$(GO) test $(PACKAGES) | |||
$(GO) build # test if go build succeed without sqlite support |
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.
Why is this under test
? IMO, the make test
target should run unit tests, nothing more.
Also, building without the sqlite tag already runs in CI (make build
), so why is doing it again necessary?
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.
make build
will always add -tags=sqlite
. This is a test for building without sqlite. Since all test now always use sqlite
.
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.
Okay, I see why building again, without the sqlite tag, is necessary. However, could we please not put this in the test
make target, for the sake of keeping our make targets straightforward? One option would be to just run make build
an additional time in CI (without the sqlite tag).
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.
Or Maybe a new section named comiple-test
or build-test
?
LGTM |
LGTM |
Sorry @ethantkoenig did not see that you have not approved |
will fix #3129