-
Notifications
You must be signed in to change notification settings - Fork 582
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
Test windows #356
Test windows #356
Conversation
We can safely assume that the application can be build when the test suite succeeds.
Tests will fail if the unmmap error is returned instead of being logged (FIXME annotation).
69f21ce
to
04dc6e8
Compare
b958cc0
to
e8cf816
Compare
e8cf816
to
632a742
Compare
Hi @blobbered |
.github/workflows/go.yaml
Outdated
@@ -19,14 +19,28 @@ jobs: | |||
with: | |||
node-version: "10.x" | |||
- run: npm install | |||
go-test: | |||
lint: |
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.
Since lint is only for ubuntu and not windows, did you want it in this PR or did you want to split it off into separate smaller PR?
codesearch/index/write.go
Outdated
@@ -563,15 +563,16 @@ func (b *bufWriter) offset() uint32 { | |||
return uint32(off) | |||
} | |||
|
|||
func (b *bufWriter) flush() { | |||
func (b *bufWriter) flush() error { |
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.
This PR is one of several smaller ones made from this original PR, by klingtnet.
This PR is responsible for cleaning up the go build and test so that they run on windows.