mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
@@ -30,6 +30,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/gohugoio/hugo/htesting"
|
||||||
"github.com/gohugoio/hugo/resources/images/webp"
|
"github.com/gohugoio/hugo/resources/images/webp"
|
||||||
|
|
||||||
"github.com/gohugoio/hugo/common/paths"
|
"github.com/gohugoio/hugo/common/paths"
|
||||||
@@ -545,6 +546,9 @@ func goldenEqual(img1, img2 *image.NRGBA) bool {
|
|||||||
|
|
||||||
// Issue #8729
|
// Issue #8729
|
||||||
func TestImageOperationsGoldenWebp(t *testing.T) {
|
func TestImageOperationsGoldenWebp(t *testing.T) {
|
||||||
|
if !htesting.IsCI() {
|
||||||
|
t.Skip("skip long running test in local mode")
|
||||||
|
}
|
||||||
if !webp.Supports() {
|
if !webp.Supports() {
|
||||||
t.Skip("skip webp test")
|
t.Skip("skip webp test")
|
||||||
}
|
}
|
||||||
@@ -584,6 +588,9 @@ func TestImageOperationsGoldenWebp(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestImageOperationsGolden(t *testing.T) {
|
func TestImageOperationsGolden(t *testing.T) {
|
||||||
|
if !htesting.IsCI() {
|
||||||
|
t.Skip("skip long running test in local mode")
|
||||||
|
}
|
||||||
c := qt.New(t)
|
c := qt.New(t)
|
||||||
c.Parallel()
|
c.Parallel()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user