Skip to content

Commit

Permalink
[chore] Skip dbstorage extension tests on Windows GH runners (#36267)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti authored Nov 8, 2024
1 parent 1c2f322 commit 65cd1f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions extension/storage/dbstorage/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ package dbstorage
import (
"context"
"fmt"
"os"
"runtime"
"sync"
"testing"

Expand All @@ -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))
}

Expand Down

0 comments on commit 65cd1f9

Please sign in to comment.