1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-26 05:37:18 +02:00

Merge pull request #2545 from stefanhaller/fix-integration-test-name

This commit is contained in:
Jesse Duffield 2023-04-14 20:29:20 +10:00 committed by GitHub
commit 275ed12486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 2 deletions

View File

@ -135,6 +135,11 @@ 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 Test List
# ensure our integration test list is up to date
run: |
go generate pkg/integration/tests/tests.go && git diff --exit-code || (echo "Integration test list not up to date. Run 'go generate pkg/integration/tests/tests.go' locally and commit the changes" && exit 1)
shell: bash # needed so that we get "-o pipefail"
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:

View File

@ -64,13 +64,13 @@ var tests = []*components.IntegrationTest{
conflicts.ResolveExternally, conflicts.ResolveExternally,
conflicts.ResolveMultipleFiles, conflicts.ResolveMultipleFiles,
conflicts.UndoChooseHunk, conflicts.UndoChooseHunk,
custom_commands.BasicCmdFromConfig,
custom_commands.BasicCmdAtRuntime, custom_commands.BasicCmdAtRuntime,
custom_commands.OmitFromHistory, custom_commands.BasicCmdFromConfig,
custom_commands.FormPrompts, custom_commands.FormPrompts,
custom_commands.MenuFromCommand, custom_commands.MenuFromCommand,
custom_commands.MenuFromCommandsOutput, custom_commands.MenuFromCommandsOutput,
custom_commands.MultiplePrompts, custom_commands.MultiplePrompts,
custom_commands.OmitFromHistory,
diff.Diff, diff.Diff,
diff.DiffAndApplyPatch, diff.DiffAndApplyPatch,
diff.DiffCommits, diff.DiffCommits,