From 65cd1f9fd9d57324829d63227da9b0340a19954c Mon Sep 17 00:00:00 2001 From: Paulo Janotti Date: Fri, 8 Nov 2024 04:27:22 -0800 Subject: [PATCH] [chore] Skip dbstorage extension tests on Windows GH runners (#36267) --- extension/storage/dbstorage/extension_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/extension/storage/dbstorage/extension_test.go b/extension/storage/dbstorage/extension_test.go index 5b38f466e65f..b888c88321b3 100644 --- a/extension/storage/dbstorage/extension_test.go +++ b/extension/storage/dbstorage/extension_test.go @@ -6,6 +6,8 @@ package dbstorage import ( "context" "fmt" + "os" + "runtime" "sync" "testing" @@ -22,10 +24,18 @@ import ( ) func TestExtensionIntegrityWithSqlite(t *testing.T) { + if runtime.GOOS == "windows" && os.Getenv("GITHUB_ACTIONS") == "true" { + t.Skip("Skipping test on Windows GH runners: test requires Docker to be running Linux containers") + } + testExtensionIntegrity(t, newSqliteTestExtension(t)) } func TestExtensionIntegrityWithPostgres(t *testing.T) { + if runtime.GOOS == "windows" && os.Getenv("GITHUB_ACTIONS") == "true" { + t.Skip("Skipping test on Windows GH runners: test requires Docker to be running Linux containers") + } + testExtensionIntegrity(t, newPostgresTestExtension(t)) }