Skip to content

Commit 300765d

Browse files
committed
skip test if git version < 2.29
1 parent 3c01930 commit 300765d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

integrations/git_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,11 @@ func doCreateAGitStylePull(dstPath string, ctx *APITestContext, baseBranch, head
551551
return func(t *testing.T) {
552552
defer PrintCurrentTest(t)()
553553

554+
// TODO: git version in golang docker image is 2.20.1, have to skip this test now
555+
if git.CheckGitVersionAtLeast("2.29") != nil {
556+
return
557+
}
558+
554559
var (
555560
pr1, pr2 *models.PullRequest
556561
commit string

0 commit comments

Comments
 (0)