Skip to content

test: don't require zsh for the completion test (fixes Linux CI) - #21

Merged
3ae3ae merged 1 commit into
general-clifrom
wp/ci-zsh
Oct 19, 2026
Merged

3ae3ae merged 1 commit into
general-clifrom
wp/ci-zsh

Conversation

@3ae3ae

@3ae3ae 3ae3ae commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Summary

The first CI runs failed on Ubuntu only. test_completion_aliases_and_module_entry ran /bin/zsh -n, and GitHub's Ubuntu runners have no zsh. The test now looks up bash/zsh on PATH. When a shell is missing, it only checks the generated script's text.

Test plan

  • Local suite passes (macOS, both shells present)
  • CI on this PR: Linux and macOS, Python 3.12 and 3.13

🤖 Generated with Claude Code

GitHub's Ubuntu runners have no zsh, so the completion test failed
there on /bin/zsh. It now finds bash and zsh on PATH and only checks
the generated script's text for a shell that is missing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@3ae3ae
3ae3ae merged commit 3a62c9e into general-cli Oct 19, 2026
5 checks passed
@3ae3ae
3ae3ae deleted the wp/ci-zsh branch October 19, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant