Skip to content

Commit 5be5651

Browse files
committed
.github/workflows/test.yml: Add test using default.yaml with --network=vzNAT
Signed-off-by: Norio Nomura <[email protected]>
1 parent f0ce75d commit 5be5651

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,13 @@ jobs:
505505
matrix:
506506
template:
507507
- default.yaml
508+
create_arg:
509+
- ""
510+
- "--network=vzNAT"
508511
steps:
509512
- name: "Adjust LIMACTL_CREATE_ARGS"
510513
# --cpus=1 is needed for running vz on GHA: https://github.com/lima-vm/lima/pull/1511#issuecomment-1574937888
511-
run: echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --cpus 1 --memory 1" >>$GITHUB_ENV
514+
run: echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --cpus 1 --memory 1 ${{ matrix.create_arg }}" >>$GITHUB_ENV
512515
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
513516
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
514517
with:

0 commit comments

Comments
 (0)