From 518eefee9bd1efa741ad38eb8f8a6ebef267f4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 5 Aug 2025 10:50:14 +0200 Subject: [PATCH] Skip flakey test on CI --- hugolib/page_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 1da67e58f..91499da8f 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -23,6 +23,7 @@ import ( "time" "github.com/bep/clocks" + "github.com/gohugoio/hugo/htesting" "github.com/gohugoio/hugo/markup/asciidocext" "github.com/gohugoio/hugo/markup/rst" "github.com/gohugoio/hugo/tpl" @@ -368,7 +369,7 @@ func testAllMarkdownEnginesForPages(t *testing.T, }{ {"md", func() bool { return true }}, {"ad", func() bool { return asciidocext.Supports() }}, - {"rst", func() bool { return rst.Supports() }}, + {"rst", func() bool { return !htesting.IsRealCI() && rst.Supports() }}, } for _, e := range engines {