mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
Skip flakey test on CI
This commit is contained in:
@@ -23,6 +23,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/bep/clocks"
|
"github.com/bep/clocks"
|
||||||
|
"github.com/gohugoio/hugo/htesting"
|
||||||
"github.com/gohugoio/hugo/markup/asciidocext"
|
"github.com/gohugoio/hugo/markup/asciidocext"
|
||||||
"github.com/gohugoio/hugo/markup/rst"
|
"github.com/gohugoio/hugo/markup/rst"
|
||||||
"github.com/gohugoio/hugo/tpl"
|
"github.com/gohugoio/hugo/tpl"
|
||||||
@@ -368,7 +369,7 @@ func testAllMarkdownEnginesForPages(t *testing.T,
|
|||||||
}{
|
}{
|
||||||
{"md", func() bool { return true }},
|
{"md", func() bool { return true }},
|
||||||
{"ad", func() bool { return asciidocext.Supports() }},
|
{"ad", func() bool { return asciidocext.Supports() }},
|
||||||
{"rst", func() bool { return rst.Supports() }},
|
{"rst", func() bool { return !htesting.IsRealCI() && rst.Supports() }},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, e := range engines {
|
for _, e := range engines {
|
||||||
|
Reference in New Issue
Block a user