From 349c605f9d46ef2c60f405872d8f9fa9b131e70c Mon Sep 17 00:00:00 2001 From: Joe Kralicky Date: Fri, 24 Jan 2025 21:31:19 +0000 Subject: [PATCH] skip postgres test on macos --- pkg/storage/postgres/tracing_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/storage/postgres/tracing_test.go b/pkg/storage/postgres/tracing_test.go index 19d8b9085..3f00eb9f6 100644 --- a/pkg/storage/postgres/tracing_test.go +++ b/pkg/storage/postgres/tracing_test.go @@ -4,6 +4,8 @@ import ( "context" "io" "net/http" + "os" + "runtime" "testing" "github.com/pomerium/pomerium/config" @@ -18,6 +20,10 @@ import ( ) func TestQueryTracing(t *testing.T) { + if os.Getenv("GITHUB_ACTION") != "" && runtime.GOOS == "darwin" { + t.Skip("Github action can not run docker on MacOS") + } + testutil.WithTestPostgres(t, func(dsn string) { receiver := scenarios.NewOTLPTraceReceiver() env := testenv.New(t, testenv.WithTraceDebugFlags(testenv.StandardTraceDebugFlags), testenv.WithTraceClient(receiver.NewGRPCClient()))