diff --git a/pkg/integration/tests/custom_commands/form_prompts.go b/pkg/integration/tests/custom_commands/form_prompts.go index 8ab54451d..1545ef30a 100644 --- a/pkg/integration/tests/custom_commands/form_prompts.go +++ b/pkg/integration/tests/custom_commands/form_prompts.go @@ -1,6 +1,8 @@ package custom_commands import ( + "runtime" + "github.com/jesseduffield/lazygit/pkg/config" . "github.com/jesseduffield/lazygit/pkg/integration/components" ) @@ -8,7 +10,7 @@ import ( var FormPrompts = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Using a custom command reffering prompt responses by name", ExtraCmdArgs: []string{}, - Skip: false, + Skip: runtime.GOOS == "windows", SetupRepo: func(shell *Shell) { shell.EmptyCommit("blah") }, diff --git a/pkg/integration/tests/custom_commands/menu_from_command.go b/pkg/integration/tests/custom_commands/menu_from_command.go index 9e5f39615..084cbb04b 100644 --- a/pkg/integration/tests/custom_commands/menu_from_command.go +++ b/pkg/integration/tests/custom_commands/menu_from_command.go @@ -1,6 +1,8 @@ package custom_commands import ( + "runtime" + "github.com/jesseduffield/lazygit/pkg/config" . "github.com/jesseduffield/lazygit/pkg/integration/components" ) @@ -10,7 +12,7 @@ import ( var MenuFromCommand = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Using menuFromCommand prompt type", ExtraCmdArgs: []string{}, - Skip: false, + Skip: runtime.GOOS == "windows", SetupRepo: func(shell *Shell) { shell. EmptyCommit("foo"). diff --git a/pkg/integration/tests/custom_commands/multiple_prompts.go b/pkg/integration/tests/custom_commands/multiple_prompts.go index d36c40d65..d22dc3cb6 100644 --- a/pkg/integration/tests/custom_commands/multiple_prompts.go +++ b/pkg/integration/tests/custom_commands/multiple_prompts.go @@ -1,6 +1,8 @@ package custom_commands import ( + "runtime" + "github.com/jesseduffield/lazygit/pkg/config" . "github.com/jesseduffield/lazygit/pkg/integration/components" ) @@ -8,7 +10,7 @@ import ( var MultiplePrompts = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Using a custom command with multiple prompts", ExtraCmdArgs: []string{}, - Skip: false, + Skip: runtime.GOOS == "windows", SetupRepo: func(shell *Shell) { shell.EmptyCommit("blah") }, diff --git a/pkg/integration/tests/misc/copy_to_clipboard.go b/pkg/integration/tests/misc/copy_to_clipboard.go index 6b1d5d1f6..5042dc685 100644 --- a/pkg/integration/tests/misc/copy_to_clipboard.go +++ b/pkg/integration/tests/misc/copy_to_clipboard.go @@ -1,6 +1,8 @@ package misc import ( + "runtime" + "github.com/jesseduffield/lazygit/pkg/config" . "github.com/jesseduffield/lazygit/pkg/integration/components" ) @@ -10,7 +12,7 @@ import ( var CopyToClipboard = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Copy a branch name to the clipboard using custom clipboard command template", ExtraCmdArgs: []string{}, - Skip: false, + Skip: runtime.GOOS == "windows", SetupConfig: func(config *config.AppConfig) { config.UserConfig.OS.CopyToClipboardCmd = "echo {{text}} > clipboard" },