Compare commits
2 Commits
create-pul
...
ensure-tes
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5e3cc200e | ||
|
|
8e4efddbf7 |
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -135,6 +135,10 @@ jobs:
|
||||
# ensure our vendor directory matches up with our go modules
|
||||
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)
|
||||
- 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:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
. "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",
|
||||
ExtraCmdArgs: "",
|
||||
Skip: false,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
. "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",
|
||||
ExtraCmdArgs: "",
|
||||
Skip: false,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
. "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",
|
||||
ExtraCmdArgs: "",
|
||||
Skip: false,
|
||||
|
||||
@@ -64,9 +64,9 @@ var tests = []*components.IntegrationTest{
|
||||
conflicts.ResolveExternally,
|
||||
conflicts.ResolveMultipleFiles,
|
||||
conflicts.UndoChooseHunk,
|
||||
custom_commands.BasicCmdFromConfig,
|
||||
custom_commands.BasicCmdAtRuntime,
|
||||
custom_commands.OmitFromHistory,
|
||||
custom_commands.BasicAtRuntime,
|
||||
custom_commands.BasicAtRuntimeHistory,
|
||||
custom_commands.BasicFromConfig,
|
||||
custom_commands.FormPrompts,
|
||||
custom_commands.MenuFromCommand,
|
||||
custom_commands.MenuFromCommandsOutput,
|
||||
|
||||
Reference in New Issue
Block a user