diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go index 137dbd701..8ecff189a 100644 --- a/hugolib/testhelpers_test.go +++ b/hugolib/testhelpers_test.go @@ -1021,7 +1021,7 @@ func printStringIndexes(s string) { } func isCI() bool { - return os.Getenv("CI") != "" + return os.Getenv("CI") != "" && os.Getenv("CIRCLE_BRANCH") == "" } // See https://github.com/golang/go/issues/19280