summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-10-26 09:29:55 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-10-26 09:29:55 +0200
commit20ef6dcf9523610c765cfc82143aae4ceb8b6e77 (patch)
tree7aaf0151a27f34a64f41b475b4340ca8c035ae2d /commands
parent9860e0e186d9af8a66d8e7b1656eee23333c8acc (diff)
Skip flakey server tests on GitHub Action on Windows
Diffstat (limited to 'commands')
-rw-r--r--commands/server_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/server_test.go b/commands/server_test.go
index 7a3972373..2840cdf20 100644
--- a/commands/server_test.go
+++ b/commands/server_test.go
@@ -25,6 +25,7 @@ import (
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
+ "github.com/gohugoio/hugo/htesting"
"golang.org/x/net/context"
"golang.org/x/sync/errgroup"
@@ -184,6 +185,10 @@ baseURL="https://example.org"
}
func TestServerBugs(t *testing.T) {
+ // TODO(bep) this is flaky on Windows on GH Actions.
+ if htesting.IsGitHubAction() && runtime.GOOS == "windows" {
+ t.Skip("skipping on windows")
+ }
c := qt.New(t)
for _, test := range []struct {