diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-04 00:25:57 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-04 00:25:57 +0200 |
| commit | 6725e4cc8f4e91b4215813171fa06d365721abed (patch) | |
| tree | 325a3a3629e11e95a4379e0dab9d6a91b08290ca /.github/workflows | |
| parent | 9314a3458a5b3add41cf31c41e8597165943840d (diff) | |
Refactor molecule testing to run a scenario per distro
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dd1c651..b894e31b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,14 +26,13 @@ jobs: fail-fast: false matrix: molecule_distro: - - distro: archlinux - platform: "linux/amd64" + - name: archlinux runs_on: "ubuntu-latest" - - distro: ubuntu - platform: "linux/amd64" + - name: ubuntu runs_on: "ubuntu-latest" - - distro: raspberrypi - platform: "linux/arm64/v8" + - name: debian + runs_on: "ubuntu-latest" + - name: raspberrypi runs_on: "ubuntu-24.04-arm" runs-on: ${{ matrix.molecule_distro.runs_on }} steps: @@ -55,6 +54,4 @@ jobs: molecule --version && ansible --version && MOLECULE_COMMAND=${{ matrix.molecule_distro.command }} - MOLECULE_PLATFORM=${{ matrix.molecule_distro.platform }} - MOLECULE_DISTRO=${{ matrix.molecule_distro.distro }} - molecule test + molecule test -s ${{ matrix.molecule_distro.name }} |
