Skip to content

Commit 7552890

Browse files
committed
test(codersdk/toolsdk): skip coder_workspace_bash tool test on windows
1 parent 0c203b0 commit 7552890

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

codersdk/toolsdk/toolsdk_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,10 @@ func TestMain(m *testing.M) {
665665
var untested []string
666666
for _, tool := range toolsdk.All {
667667
if tested, ok := testedTools.Load(tool.Name); !ok || !tested.(bool) {
668+
// Test is skipped on Windows
669+
if runtime.GOOS == "windows" && tool.Name == "coder_workspace_bash" {
670+
continue
671+
}
668672
untested = append(untested, tool.Name)
669673
}
670674
}

0 commit comments

Comments
 (0)