Skip to content

Commit e45bef5

Browse files
committed
ci: Run smoketest with different options
- Add different test modes support in smoke_test.sh - Add test matrix in podvm_smoketest.yaml Signed-off-by: Pradipta Banerjee <[email protected]>
1 parent ac4e092 commit e45bef5

File tree

2 files changed

+209
-88
lines changed

2 files changed

+209
-88
lines changed

.github/workflows/podvm_smoketest.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ jobs:
1010
# We're pinning the runner to 22.04 b/c libvirt struggles with the
1111
# OVMF_CODE_4M firmware that is default on 24.04.
1212
runs-on: 'ubuntu-22.04'
13+
14+
strategy:
15+
matrix:
16+
test-mode:
17+
- name: podvm-mkosi
18+
mode: basic
19+
- name: podvm-mkosi-with-scratch-space
20+
mode: scratch-space
21+
- name: podvm-mkosi-with-encrypted-scratch-space
22+
mode: encrypted-scratch-space
1323

1424
defaults:
1525
run:
@@ -66,6 +76,6 @@ jobs:
6676
tar xf kata-static-agent-ctl.tar.xz
6777
cp opt/kata/bin/kata-agent-ctl /usr/local/bin
6878
69-
- name: Run smoke test
79+
- name: Run smoke test (${{ matrix.test-mode.name }})
7080
run: |
71-
../podvm/hack/smoke_test.sh -d build/podvm-fedora-amd64.qcow2
81+
../podvm/hack/smoke_test.sh -m ${{ matrix.test-mode.mode }} build/podvm-fedora-amd64.qcow2

0 commit comments

Comments
 (0)