Skip to content

Commit 43fcf3b

Browse files
authored
Merge pull request #1201 from AkihiroSuda/refactor-test-disk
mv examples/disk.yaml hack/test-templates/test-misc.yaml
2 parents 45f9128 + 7137ffa commit 43fcf3b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@ jobs:
133133
retry_on: error
134134
max_attempts: 3
135135
command: ./hack/test-example.sh examples/experimental/9p.yaml
136-
- name: "Test disk.yaml"
136+
- name: "Test test-misc.yaml"
137137
uses: nick-invision/retry@v2
138138
with:
139139
timeout_minutes: 30
140140
retry_on: error
141141
max_attempts: 3
142-
command: ./hack/test-example.sh examples/disk.yaml
142+
command: ./hack/test-example.sh hack/test-templates/test-misc.yaml
143143
# GHA macOS is slow and flaky, so we only test a few YAMLS here.
144144
# Other yamls are tested on Linux instances of Cirrus.
145145

hack/test-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ case "$NAME" in
4646
"vmnet")
4747
CHECKS["vmnet"]=1
4848
;;
49-
"disk")
49+
"test-misc")
5050
CHECKS["disk"]=1
5151
;;
5252
esac

examples/disk.yaml renamed to hack/test-templates/test-misc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# The test template for testing misc configurations:
2+
# - disk
3+
# - (More to come)
4+
#
15
# This example requires Lima v0.14.0 or later.
26
images:
37
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.

0 commit comments

Comments
 (0)