From c19b1cc76ddb562968e7b8bf59044be44945bf13 Mon Sep 17 00:00:00 2001 From: oliverpool Date: Tue, 21 May 2024 14:21:36 +0200 Subject: [PATCH] test-sha256: skip push-create See #3783 why it is hard to support --- tests/integration/git_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/git_test.go b/tests/integration/git_test.go index 673f7194e6..16f6ea04f8 100644 --- a/tests/integration/git_test.go +++ b/tests/integration/git_test.go @@ -592,6 +592,9 @@ func doEnsureDiffNoChange(ctx APITestContext, pr api.PullRequest, diffHash strin func doPushCreate(ctx APITestContext, u *url.URL, objectFormat git.ObjectFormat) func(t *testing.T) { return func(t *testing.T) { + if objectFormat == git.Sha256ObjectFormat { + t.Skipf("push-create not supported for %s, see https://codeberg.org/forgejo/forgejo/issues/3783", objectFormat) + } defer tests.PrintCurrentTest(t)() // create a context for a currently non-existent repository