Skip to content

Commit db93fe4

Browse files
committed
ci: Fix macOS test
1 parent 262da29 commit db93fe4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ jobs:
3939
- name: Run Tests
4040
run: |
4141
nvim --version
42-
env
4342
OS=$(echo $RUNNER_OS | tr '[:upper:]' '[:lower:]')
44-
echo $OS
45-
if [[ "$OS" = "macos" ]]; then OS=darwin; fi
46-
echo $OS
43+
if [[ "$OS" = "macos" ]]; then
44+
OS=darwin
45+
curl -sLo /tmp/kustomize.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v5.3.0/kustomize_v5.3.0_darwin_amd64.tar.gz
46+
tar -xC /tmp -f /tmp/kustomize.tar.gz
47+
mv /tmp/kustomize /usr/local/bin/kustomize
48+
fi
4749
[ ! -d tests ] && exit 0
4850
curl -sLo /tmp/kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v0.6.7/kubeconform-${OS}-amd64.tar.gz
4951
tar -xC /tmp -f /tmp/kubeconform.tar.gz

0 commit comments

Comments
 (0)