From 7552890b58b138a249738cffe9e19a7b817b1c53 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Thu, 14 Aug 2025 04:53:27 +0000 Subject: [PATCH] test(codersdk/toolsdk): skip `coder_workspace_bash` tool test on windows --- codersdk/toolsdk/toolsdk_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codersdk/toolsdk/toolsdk_test.go b/codersdk/toolsdk/toolsdk_test.go index 0754514693a0e..fb321e90e7dee 100644 --- a/codersdk/toolsdk/toolsdk_test.go +++ b/codersdk/toolsdk/toolsdk_test.go @@ -665,6 +665,10 @@ func TestMain(m *testing.M) { var untested []string for _, tool := range toolsdk.All { if tested, ok := testedTools.Load(tool.Name); !ok || !tested.(bool) { + // Test is skipped on Windows + if runtime.GOOS == "windows" && tool.Name == "coder_workspace_bash" { + continue + } untested = append(untested, tool.Name) } }