-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 CI on Windows #1395
Fix CI on Windows #1395
Conversation
b43f388
to
b7c5e90
Compare
@golangci/team anyone here with a Windows computer that can run some tests? Basically, most of the tests are failing because the |
@Nivl traivs CI support debug mode, you can try it. |
@daixiang0 That's a good idea, thanks. It just sucks because that would require setting up a new CI 😕 I'm gonna wait a bit longer in case someone shows up with a Windows computer 🤞 |
I installed Windows on my mac earlier today, so I did a few tests: The CI fails with:
The good thing is that I get the same error locally. The bad thing now is that the file does exist. I tried to change the path from relative to absolute, but it still fails saying the binary doesn't exist, even though I can run I don't really have much time to dig deeper for now, but maybe for some reason the path we provide is not being treated as a path, and Go/Windows is looking for a binary named |
The implementation of In short, the executable must have an extension ( |
@ldez Good catch, it's not even documented afaik! |
Thanks @ldez that did solve the issue, sadly now there are 20k more 😀. Some issues around differences in how Windows deals with file descriptors, some because we have hardcoded |
@Nivl I recommend using |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Status: We need someone with a Windows machine to help to debug. I'll try again once parallels support Silicon processors, or if/when Microsoft changes their licensing around Windows on ARM
Closes #1382
There are several issues:
..\golangci-lint
doesn't seems to be installed so all the linter tests failskip_files_test.go:36