Skip to content

Commit 3386a74

Browse files
committed
Merge pull request #139 from keith/ks/no-gpgsign
Disable gpgsign in test repos
2 parents 8bd797d + dab6f7f commit 3386a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Get/RawCloneTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ private func makeGitRepo(dstdir: String, tag: String?, file: StaticString = #fil
4848
try popen(["git", "-C", dstdir, "init"])
4949
try popen(["git", "-C", dstdir, "config", "user.email", "[email protected]"])
5050
try popen(["git", "-C", dstdir, "config", "user.name", "Example Example"])
51+
try popen(["git", "-C", dstdir, "config", "commit.gpgsign", "false"])
5152
try popen(["git", "-C", dstdir, "add", "."])
5253
try popen(["git", "-C", dstdir, "commit", "-m", "msg"])
5354
if let tag = tag {
@@ -115,7 +116,6 @@ extension GitTests: XCTestCaseProvider {
115116
("testHasNoVersion", testHasNoVersion),
116117
("testCloneShouldNotCrashWihoutTags", testCloneShouldNotCrashWihoutTags),
117118
("testCloneShouldCrashWihoutTags", testCloneShouldCrashWihoutTags),
118-
119119
]
120120
}
121121
}

0 commit comments

Comments
 (0)