only run private repo test on Linux

This commit is contained in:
Luke Kingland 2025-07-24 11:39:26 +09:00
parent 09bbb5ebfe
commit ed92075702
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import (
"os"
"os/signal"
"path/filepath"
"runtime"
"syscall"
"testing"
"time"
@ -38,6 +39,9 @@ import (
)
func TestPrivateGitRepository(t *testing.T) {
if runtime.GOOS != "linux" {
t.Skip("Skipping TestPrivateGitRepository on non-Linux systems due to cluster networking limitations")
}
ctx, cancel := context.WithCancel(context.Background())
defer cancel()