Skip to content

Commit 7a02f1c

Browse files
committedFeb 20, 2022
Add Alpine to the macOS test matrix
It is different from the other examples because it doesn't use systemd and cloud-init, and also boots from an ISO and uses a separate data volume. So it makes sense to test it on both Linux and macOS. Signed-off-by: Jan Dubois <[email protected]>
1 parent 6a44a97 commit 7a02f1c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
matrix:
106106
# GHA macOS is slow and flaky, so we only test a few YAMLS here.
107107
# Other yamls are tested on Linux instances of Cirrus.
108-
example: [default.yaml, vmnet.yaml]
108+
example: [default.yaml, alpine.yaml, vmnet.yaml]
109109
steps:
110110
- uses: actions/setup-go@v2
111111
with:
@@ -121,7 +121,6 @@ jobs:
121121
# QEMU: required by Lima itself
122122
# bash: required by test-example.sh (OS version of bash is too old)
123123
# coreutils: required by test-example.sh for the "timeout" command
124-
# These would need to be added to run the alpine.yaml config on the macOS runner:
125124
# curl: required by test-example.sh to download nerdctl for alpine
126125
# jq: required by test-example.sh to determine download URL for nerdctl
127126
run: |
@@ -130,7 +129,7 @@ jobs:
130129
# breaking upgrades to latest python@3.9
131130
rm -f /usr/local/bin/2to3
132131
time brew update
133-
time brew install qemu bash coreutils
132+
time brew install qemu bash coreutils curl jq
134133
time brew upgrade
135134
- name: Install vde_switch and vde_vmnet
136135
if: matrix.example == 'vmnet.yaml'

0 commit comments

Comments
 (0)