mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
parent
f802bb236a
commit
a9718f44cd
9 changed files with 21 additions and 13 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue