summaryrefslogtreecommitdiffstats
path: root/common/para
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-23 19:47:20 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-23 19:47:20 +0100
commita9718f44cd6c938448fc697f0ec720ebed7d863a (patch)
treece0225a77a803cf1740bdd2c3d260d572ed55b90 /common/para
parentf802bb236a60dcc6c64d53edac634891272e0c07 (diff)
para: Skip para test when not on CI
Fixes #6963
Diffstat (limited to 'common/para')
-rw-r--r--common/para/para_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/para/para_test.go b/common/para/para_test.go
index 627528cf9..646b7b36b 100644
--- a/common/para/para_test.go
+++ b/common/para/para_test.go
@@ -22,6 +22,8 @@ import (
"testing"
"time"
+ "github.com/gohugoio/hugo/htesting"
+
qt "github.com/frankban/quicktest"
)
@@ -30,6 +32,10 @@ func TestPara(t *testing.T) {
t.Skipf("skip para test, CPU count is %d", runtime.NumCPU())
}
+ if !htesting.IsCI() {
+ t.Skip("skip para test when not running on CI")
+ }
+
c := qt.New(t)
c.Run("Order", func(c *qt.C) {