mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 16:46:25 -04:00
Skip tests for credentials on Windows
They use test/files/pre-push, which doesn't work on Windows.
This commit is contained in:
parent
d9324019a3
commit
7274d86d54
|
|
@ -1,6 +1,8 @@
|
|||
package branch
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
|
||||
"github.com/jesseduffield/lazygit/pkg/config"
|
||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||
)
|
||||
|
|
@ -8,7 +10,7 @@ import (
|
|||
var DeleteRemoteBranchWithCredentialPrompt = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Description: "Delete a remote branch where credentials are required",
|
||||
ExtraCmdArgs: []string{},
|
||||
Skip: false,
|
||||
Skip: runtime.GOOS == "windows",
|
||||
SetupConfig: func(config *config.AppConfig) {
|
||||
},
|
||||
SetupRepo: func(shell *Shell) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
package sync
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
|
||||
"github.com/jesseduffield/lazygit/pkg/config"
|
||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||
)
|
||||
|
|
@ -8,7 +10,7 @@ import (
|
|||
var PushWithCredentialPrompt = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Description: "Push a commit to a pre-configured upstream, where credentials are required",
|
||||
ExtraCmdArgs: []string{},
|
||||
Skip: false,
|
||||
Skip: runtime.GOOS == "windows",
|
||||
SetupConfig: func(config *config.AppConfig) {
|
||||
},
|
||||
SetupRepo: func(shell *Shell) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue