Skip to content

Commit 82439ea

Browse files
committed
.github/workflows/test.yml: Add test using default.yaml with --network=vzNAT
Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
1 parent f922a1e commit 82439ea

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,10 +521,13 @@ jobs:
521521
matrix:
522522
template:
523523
- default.yaml
524+
create_arg:
525+
- ""
526+
- "--network=vzNAT"
524527
steps:
525528
- name: "Adjust LIMACTL_CREATE_ARGS"
526529
# --cpus=1 is needed for running vz on GHA: https://github.com/lima-vm/lima/pull/1511#issuecomment-1574937888
527-
run: echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --cpus 1 --memory 1" >>$GITHUB_ENV
530+
run: echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --cpus 1 --memory 1 ${{ matrix.create_arg }}" >>$GITHUB_ENV
528531
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
529532
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
530533
with:
@@ -546,7 +549,7 @@ jobs:
546549
- if: failure()
547550
uses: ./.github/actions/upload_failure_logs_if_exists
548551
with:
549-
suffix: ${{ matrix.template }}
552+
suffix: ${{ matrix.template }}${{ matrix.create_arg }}
550553

551554
# gomodjail is a library sandbox for Go
552555
# https://github.com/AkihiroSuda/gomodjail

0 commit comments

Comments
 (0)