Skip to content

Commit c5bdef6

Browse files
authored
Merge pull request #1867 from Earlopain/test-gpg-signing
Don't try to sign git commits when running tests
2 parents 4fdfab6 + c590b80 commit c5bdef6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/rbs/collection/sources/git_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def test_resolved_revision_updated_after_fetch
5656
git "init", chdir: origin_repo
5757
git "config", "user.email", "[email protected]", chdir: origin_repo
5858
git "config", "user.name", "Your Name", chdir: origin_repo
59+
# Ignore potential signing key protected by passphrase
60+
git "config", "commit.gpgsign", "false", chdir: origin_repo
5961
git "checkout", "-b", "main", chdir: origin_repo
6062

6163
git "commit", "--allow-empty", "-m", "Initial commit", chdir: origin_repo

0 commit comments

Comments
 (0)