github: Set HUGO_BUILD_TAGS: extended when running tests

Also fix TestDecodeConfig/Basic which started to fail in the extended build in 0.99.1.

Closes #9935
This commit is contained in:
Bjørn Erik Pedersen
2022-05-27 10:06:45 +02:00
parent 6a5acd753a
commit 52edea0fec
4 changed files with 5 additions and 11 deletions

View File

@@ -144,13 +144,6 @@ func Docker() error {
// Run tests and linters
func Check() {
if strings.Contains(runtime.Version(), "1.8") {
// Go 1.8 doesn't play along with go test ./... and /vendor.
// We could fix that, but that would take time.
fmt.Printf("Skip Check on %s\n", runtime.Version())
return
}
if runtime.GOARCH == "amd64" && runtime.GOOS != "darwin" {
mg.Deps(Test386)
} else {