mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-05 21:46:49 -04:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5e3cc200e | ||
|
|
8e4efddbf7 |
@@ -135,6 +135,10 @@ jobs:
|
|||||||
# ensure our vendor directory matches up with our go modules
|
# ensure our vendor directory matches up with our go modules
|
||||||
run: |
|
run: |
|
||||||
go mod vendor && git diff --exit-code || (echo "Unexpected change to vendor directory. Run 'go mod vendor' locally and commit the changes" && exit 1)
|
go mod vendor && git diff --exit-code || (echo "Unexpected change to vendor directory. Run 'go mod vendor' locally and commit the changes" && exit 1)
|
||||||
|
- name: Check Integration Tests List
|
||||||
|
# ensure our tests list matches up with our generator's output
|
||||||
|
run: |
|
||||||
|
go generate pkg/integration/tests/tests.go && git diff --exit-code || (echo "Unexpected change to tests list. Run 'go generate pkg/integration/tests/tests.go' locally and commit the changes" && exit 1)
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||||
)
|
)
|
||||||
|
|
||||||
var BasicCmdAtRuntime = NewIntegrationTest(NewIntegrationTestArgs{
|
var BasicAtRuntime = NewIntegrationTest(NewIntegrationTestArgs{
|
||||||
Description: "Using a custom command provided at runtime to create a new file",
|
Description: "Using a custom command provided at runtime to create a new file",
|
||||||
ExtraCmdArgs: "",
|
ExtraCmdArgs: "",
|
||||||
Skip: false,
|
Skip: false,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||||
)
|
)
|
||||||
|
|
||||||
var OmitFromHistory = NewIntegrationTest(NewIntegrationTestArgs{
|
var BasicAtRuntimeHistory = NewIntegrationTest(NewIntegrationTestArgs{
|
||||||
Description: "Omitting a runtime custom command from history if it begins with space",
|
Description: "Omitting a runtime custom command from history if it begins with space",
|
||||||
ExtraCmdArgs: "",
|
ExtraCmdArgs: "",
|
||||||
Skip: false,
|
Skip: false,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||||
)
|
)
|
||||||
|
|
||||||
var BasicCmdFromConfig = NewIntegrationTest(NewIntegrationTestArgs{
|
var BasicFromConfig = NewIntegrationTest(NewIntegrationTestArgs{
|
||||||
Description: "Using a custom command to create a new file",
|
Description: "Using a custom command to create a new file",
|
||||||
ExtraCmdArgs: "",
|
ExtraCmdArgs: "",
|
||||||
Skip: false,
|
Skip: false,
|
||||||
|
|||||||
@@ -64,9 +64,9 @@ var tests = []*components.IntegrationTest{
|
|||||||
conflicts.ResolveExternally,
|
conflicts.ResolveExternally,
|
||||||
conflicts.ResolveMultipleFiles,
|
conflicts.ResolveMultipleFiles,
|
||||||
conflicts.UndoChooseHunk,
|
conflicts.UndoChooseHunk,
|
||||||
custom_commands.BasicCmdFromConfig,
|
custom_commands.BasicAtRuntime,
|
||||||
custom_commands.BasicCmdAtRuntime,
|
custom_commands.BasicAtRuntimeHistory,
|
||||||
custom_commands.OmitFromHistory,
|
custom_commands.BasicFromConfig,
|
||||||
custom_commands.FormPrompts,
|
custom_commands.FormPrompts,
|
||||||
custom_commands.MenuFromCommand,
|
custom_commands.MenuFromCommand,
|
||||||
custom_commands.MenuFromCommandsOutput,
|
custom_commands.MenuFromCommandsOutput,
|
||||||
|
|||||||
Reference in New Issue
Block a user