mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-24 22:37:56 -05:00
ci: install zsh so the zsh completion tests run instead of skipping (#84)
ZshCompletionTest sources the completion script in a real zsh and skips where zsh is missing, which the runner image is. CI now installs zsh and sets FLOCI_TEST_REQUIRE_ZSH, which turns that skip into a failure so a missing zsh cannot pass unnoticed. Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
1 parent
73d13b520e
commit
e29f95b6a7
2 files changed
+14
-1
No files matched your search
@@ -36,7 +36,15 @@ jobs:
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
|
||||
# ZshCompletionTest sources the completion script in a real zsh, which the runner image does
|
||||
# not ship. FLOCI_TEST_REQUIRE_ZSH turns its skip into a failure, so a missing zsh cannot
|
||||
# pass silently.
|
||||
- name: Install zsh
|
||||
run: sudo apt-get update -q && sudo apt-get install -y -q zsh
|
||||
|
||||
- name: Run unit tests
|
||||
env:
|
||||
FLOCI_TEST_REQUIRE_ZSH: 'true'
|
||||
run: mvn test -B
|
||||
|
||||
native-linux-arm64:
|
||||
|
||||
Reference in new issue
Block a user