From 9009c5d7ec3dd96b63955d4f0b355c3b1b2254c9 Mon Sep 17 00:00:00 2001 From: Wojciech Malota-Wojcik Date: Tue, 10 Sep 2024 12:25:37 +0200 Subject: [PATCH] Add tag `testing` when running unit tests --- pkg/tools/golang/golang.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tools/golang/golang.go b/pkg/tools/golang/golang.go index fdb37fc..e41a5b5 100644 --- a/pkg/tools/golang/golang.go +++ b/pkg/tools/golang/golang.go @@ -138,6 +138,7 @@ func UnitTests(ctx context.Context, deps types.DepsFunc) error { cmd := exec.Command( tools.Bin(ctx, "bin/go", tools.PlatformLocal), "test", + "-tags=testing", "-count=1", "-shuffle=on", "-race",