Skip to content

Commit

Permalink
dont use docker compose for windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum committed Oct 17, 2024
1 parent a867a2d commit 47cae66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/cmd/integration-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"os"
"path/filepath"
"runtime"
"strings"

"github.com/spf13/cobra"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 47cae66

Please sign in to comment.