Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6beaf7c

Browse files
committed
chore(cli): skip TestDotfiles if GPG_TTY is set to avoid hanging
1 parent172e523 commit6beaf7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎cli/dotfiles_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ import (
1717

1818
funcTestDotfiles(t*testing.T) {
1919
t.Parallel()
20+
// This test will time out if the user has commit signing enabled.
21+
if_,gpgTTYFound:=os.LookupEnv("GPG_TTY");gpgTTYFound {
22+
t.Skip("GPG_TTY is set, skipping test to avoid hanging")
23+
}
2024
t.Run("MissingArg",func(t*testing.T) {
2125
t.Parallel()
2226
inv,_:=clitest.New(t,"dotfiles")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp