Skip to content

Commit a4f858b

Browse files
committed
(gh-29) Add matrix for os to acceptance.yaml github workflow
The kvm_automation_tooling module is only set up for ubuntu at the moment, but the matrix would be expanded once that module is expanded.
1 parent 44f9af7 commit a4f858b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/acceptance.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,23 @@ jobs:
1616
acceptance:
1717
name: Acceptance Tests
1818
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
os:
22+
- ubuntu
23+
os-version:
24+
- '20.04'
25+
- '22.04'
26+
- '24.04'
1927
steps:
2028
- uses: actions/checkout@v4
2129
with:
2230
fetch-depth: 0
2331
- id: vm-cluster
2432
uses: jpartlow/kvm_automation_tooling@main
2533
with:
26-
os: ubuntu
27-
os-version: 24.04
34+
os: ${{ matrix.os }}
35+
os-version: ${{ matrix.os-version }}
2836
os-arch: x86_64
2937
host-root-access: true
3038
ruby-version: ${{ env.RUBY_VERSION }}

0 commit comments

Comments
 (0)