From be00398a172f1bd37eb8465638167d12577f715b Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sat, 15 May 2021 19:54:25 +0100 Subject: [PATCH] Enable update testing on the CI platform. --- cmd/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/github.go b/cmd/github.go index 6c454dd..4f11d31 100644 --- a/cmd/github.go +++ b/cmd/github.go @@ -47,7 +47,7 @@ func updatePackage() bool { fmt.Println("Unable to obtain download url for the binary", binaryName) return false } - if flag.Lookup("test.v") == nil { + if flag.Lookup("test.v") == nil && os.Getenv("CI") == "" { downloadedBinaryPath := fmt.Sprintf("/tmp/%s", binaryName) g := got.New() err = g.Download(result, downloadedBinaryPath)