skip postgres test on macos

This commit is contained in:
Joe Kralicky 2025-01-24 21:31:19 +00:00
parent d1b8e3b92f
commit 349c605f9d
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79

View file

@ -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()))