Skip to content

🌱 Run the tests on Windows - #1

Draft
jandubois wants to merge 7 commits into
mainfrom
windows-ci
Draft

jandubois wants to merge 7 commits into
mainfrom
windows-ci

Conversation

@jandubois

Copy link
Copy Markdown
Owner

Experiment: run the test suite on windows-latest.

signal_windows.go declares signalProcess as a function, while process.go
declares it as a var holding signalProcessImpl. On Windows the two
collide and signalProcessImpl is undefined, so anything importing
pkg/envtest fails to compile. v0.24.1 still cross-builds for Windows, so
this is new in v0.25.0.

kubernetes-sigs#3519 added signal_windows.go. kubernetes-sigs#3523 then added the signalProcessImpl
indirection so tests can stub the call, and renamed the function in
signal_unix.go and signal_other.go but not in the Windows file. CI
builds on Linux only, so nothing caught it.

Signed-off-by: Jan Dubois <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant