Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-23 21:47:20 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-23 21:47:20 +0300
commita9718f44cd6c938448fc697f0ec720ebed7d863a (patch)
treece0225a77a803cf1740bdd2c3d260d572ed55b90 /common
parentf802bb236a60dcc6c64d53edac634891272e0c07 (diff)
para: Skip para test when not on CI
Fixes #6963
Diffstat (limited to 'common')
-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) {