diff --git a/.github/workflows/spread.yml b/.github/workflows/spread.yml index c902e04f..a65d8dbf 100644 --- a/.github/workflows/spread.yml +++ b/.github/workflows/spread.yml @@ -14,6 +14,9 @@ jobs: spread-tests: name: Spread tests runs-on: ubuntu-22.04 + strategy: + matrix: + versions: ["focal jammy mantic", "noble"] steps: - uses: actions/checkout@v3 @@ -30,4 +33,4 @@ jobs: - name: Build and run spread run: | (cd _spread/cmd/spread && go build) - _spread/cmd/spread/spread -vv + _spread/cmd/spread/spread ${{ matrix.versions }} diff --git a/spread.yaml b/spread.yaml index e3eed9da..70a18942 100644 --- a/spread.yaml +++ b/spread.yaml @@ -52,3 +52,8 @@ prepare: | suites: tests/: summary: Tests common scenarios + environment: + RELEASE/jammy: 22.04 + RELEASE/focal: 20.04 + RELEASE/mantic: 23.10 + RELEASE/noble: 24.04 diff --git a/tests/basic/task.yaml b/tests/basic/task.yaml index 59656be3..03c60436 100644 --- a/tests/basic/task.yaml +++ b/tests/basic/task.yaml @@ -1,11 +1,5 @@ summary: Ensure multiple slices (with mutation scripts) are properly installed -environment: - RELEASE/jammy: 22.04 - RELEASE/focal: 20.04 - RELEASE/mantic: 23.10 - RELEASE/noble: 24.04 - execute: | rootfs_folder=rootfs_${RELEASE} mkdir -p $rootfs_folder diff --git a/tests/use-a-custom-chisel-release/task.yaml b/tests/use-a-custom-chisel-release/task.yaml index bb106057..e124be13 100644 --- a/tests/use-a-custom-chisel-release/task.yaml +++ b/tests/use-a-custom-chisel-release/task.yaml @@ -1,11 +1,5 @@ summary: Use a custom Chisel release -environment: - RELEASE/jammy: 22.04 - RELEASE/focal: 20.04 - RELEASE/mantic: 23.10 - RELEASE/noble: 24.04 - execute: | rootfs_folder=rootfs_${RELEASE} mkdir -p $rootfs_folder