diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-05 20:29:13 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-05 20:29:13 +0200 |
| commit | 2bd89ced830f97fd12a672fddb6978d204a014fd (patch) | |
| tree | a80974a8020df06dc6946f31ae334bcdc7a6662f /Magefile.go | |
| parent | ad9747939b3689f395cf7bffeb3ed2b17efb8a41 (diff) | |
build(mage): forward GOTOOLCHAIN in integration test paths
Diffstat (limited to 'Magefile.go')
| -rw-r--r-- | Magefile.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Magefile.go b/Magefile.go index 42981f5..874cce4 100644 --- a/Magefile.go +++ b/Magefile.go @@ -109,7 +109,7 @@ func TestWithName() error { } fmt.Println("Running integration test", testName, "(requires root)...") env := goEnv() - forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE", "PATH") + forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE", "PATH", "GOTOOLCHAIN") return runGoTestWithProgress(env, "./integrationtests/...", "-run", "^"+testName+"$", @@ -354,7 +354,7 @@ func runIntegrationTests(parallel bool) error { } env := goEnv() - forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE") + forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE", "GOTOOLCHAIN") timeout := "30m" if !parallel { |
