Skip to content

Commit 486f806

Browse files
committed
ci: Add test workflow for bootc-ubuntu-setup action
Add automated testing for the bootc-ubuntu-setup action to verify it functions correctly after updates like the bcvk version bump. The workflow includes two test jobs: - Basic setup without libvirt (podman, just, /dev/kvm) - Full setup with libvirt (bcvk, virsh, libvirt configuration) Assisted-by: Claude Code (Sonnet 4.5) Signed-off-by: Colin Walters <[email protected]>
1 parent 822a3b8 commit 486f806

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Bootc Ubuntu Setup
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
paths:
8+
- 'common/.github/actions/bootc-ubuntu-setup/**'
9+
- '.github/workflows/test-bootc-ubuntu-setup.yml'
10+
11+
jobs:
12+
test-basic-setup:
13+
runs-on: ubuntu-24.04
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Run bootc-ubuntu-setup
19+
uses: ./common/.github/actions/bootc-ubuntu-setup
20+
21+
test-libvirt-setup:
22+
runs-on: ubuntu-24.04
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Run bootc-ubuntu-setup with libvirt
28+
uses: ./common/.github/actions/bootc-ubuntu-setup
29+
with:
30+
libvirt: 'true'

0 commit comments

Comments
 (0)