mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user