From 47cae665b68740e884a5cad7d808b319c63b28b0 Mon Sep 17 00:00:00 2001 From: William Dumont Date: Thu, 17 Oct 2024 15:29:41 +0200 Subject: [PATCH] dont use docker compose for windows tests --- internal/cmd/integration-tests/main.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/cmd/integration-tests/main.go b/internal/cmd/integration-tests/main.go index b21340ff34..28885e0c50 100644 --- a/internal/cmd/integration-tests/main.go +++ b/internal/cmd/integration-tests/main.go @@ -4,6 +4,7 @@ import ( "fmt" "os" "path/filepath" + "runtime" "strings" "github.com/spf13/cobra" @@ -35,7 +36,11 @@ func runIntegrationTests(cmd *cobra.Command, args []string) { if !skipBuild { buildAlloy() } - setupEnvironment() + if runtime.GOOS != "windows" { + setupEnvironment() + } else { + fmt.Println("Skipping environment setup on Windows.") + } if specificTest != "" { fmt.Println("Running", specificTest)