1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/hugo/skip-git-tests.patch
2021-03-07 16:43:49 +00:00

43 lines
1.1 KiB
Diff

Reason: Remove git-related tests
Upstream: No
diff --git a/hugolib/page_test.go b/hugolib/page_test.go
index 96b16c66..3df02dc1 100644
--- a/hugolib/page_test.go
+++ b/hugolib/page_test.go
@@ -779,6 +779,7 @@ func TestPageWithDate(t *testing.T) {
}
func TestPageWithLastmodFromGitInfo(t *testing.T) {
+ t.Skip("git lol")
if htesting.IsCI() {
// TODO(bep) figure out why this fails on GitHub actions.
t.Skip("Skip GitInfo test on CI")
diff --git a/releaser/git_test.go b/releaser/git_test.go
index 21d261a6..3f29c725 100644
--- a/releaser/git_test.go
+++ b/releaser/git_test.go
@@ -20,6 +20,7 @@ import (
)
func TestGitInfos(t *testing.T) {
+ t.Skip("git lol")
c := qt.New(t)
skipIfCI(t)
infos, err := getGitInfos("v0.20", "hugo", "", false)
@@ -48,6 +49,7 @@ See #456
}
func TestGitVersionTagBefore(t *testing.T) {
+ t.Skip("git lol")
skipIfCI(t)
c := qt.New(t)
v1, err := gitVersionTagBefore("v0.18")
@@ -56,6 +58,7 @@ func TestGitVersionTagBefore(t *testing.T) {
}
func TestTagExists(t *testing.T) {
+ t.Skip("git lol")
skipIfCI(t)
c := qt.New(t)
b1, err := tagExists("v0.18")