commit c8f33ec7eed247a8de59f8bd21d1a2df4545b91f
parent ea120a621883c1116e9655f583713bd63f8fee5f
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 25 Oct 2026 02:26:44 +0000
ci: install limactl in test job to support init() in tests
- limactl is required by context/init() which is used by several tests (wrap, clear, handle)
- Download and install binary in the test job on ubuntu runner
- Tests now pass in CI without real Lima VM
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -96,6 +96,12 @@ jobs:
with:
node-version: 24
+ - name: Install limactl
+ run: |
+ curl -fsSL https://github.com/lima-vm/lima/releases/download/v0.23.2/lima-0.23.2-Linux-x86_64.tar.gz | tar xz
+ sudo install -m 755 ./bin/limactl /usr/local/bin/limactl
+ limactl --version
+
- name: Install
run: ./scripts/install