diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-12-23 19:47:20 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-12-23 19:47:20 +0100 |
commit | a9718f44cd6c938448fc697f0ec720ebed7d863a (patch) | |
tree | ce0225a77a803cf1740bdd2c3d260d572ed55b90 /hugolib/hugo_modules_test.go | |
parent | f802bb236a60dcc6c64d53edac634891272e0c07 (diff) |
para: Skip para test when not on CI
Fixes #6963
Diffstat (limited to 'hugolib/hugo_modules_test.go')
-rw-r--r-- | hugolib/hugo_modules_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/hugo_modules_test.go b/hugolib/hugo_modules_test.go index 4946d0f59..fbb232325 100644 --- a/hugolib/hugo_modules_test.go +++ b/hugolib/hugo_modules_test.go @@ -41,7 +41,7 @@ import ( ) func TestHugoModulesVariants(t *testing.T) { - if !isCI() { + if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } @@ -285,12 +285,12 @@ JS imported in module: | // TODO(bep) this fails when testmodBuilder is also building ... func TestHugoModulesMatrix(t *testing.T) { - if !isCI() { + if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } t.Parallel() - if !isCI() || hugo.GoMinorVersion() < 12 { + if !htesting.IsCI() || hugo.GoMinorVersion() < 12 { // https://github.com/golang/go/issues/26794 // There were some concurrent issues with Go modules in < Go 12. t.Skip("skip this on local host and for Go <= 1.11 due to a bug in Go's stdlib") |