From: Bjørn Erik Pedersen Date: Tue, 3 Mar 2020 14:45:13 +0000 (+0100) Subject: Skip some tests on CircleCI X-Git-Tag: v0.66.0~4 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6a34f88dcc1ac229247decc008471d7449d6d316;p=brevno-suite%2Fhugo Skip some tests on CircleCI --- diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go index 137dbd70..8ecff189 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