ci: run plugin tests on Windows (#8314)

Plugin package tests previously ran only on Linux, so Windows-
specific failures were never caught. Run them in CI and make the
affected tests portable across platforms.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
Ville Vesilehto
2026-07-19 13:52:23 +03:00
committed by GitHub
parent 96ec17d5c6
commit 077774e0cd
11 changed files with 124 additions and 99 deletions

View File

@@ -5,6 +5,7 @@ import (
"errors"
"net"
"path"
"runtime"
"slices"
"testing"
@@ -99,6 +100,10 @@ func (m testServiceClient) Query(_ctx context.Context, _in *pb.DnsPacket, _opts
}
func TestProxyUnix(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("unix domain sockets are not supported on windows")
}
tdir := t.TempDir()
fd := path.Join(tdir, "test.grpc")