From eaeb038e785c764725ccb3a58019b62bdb358e4e Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Thu, 4 Sep 2025 00:25:57 +0200 Subject: Refactor molecule testing to run a scenario per distro --- .github/workflows/ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to '.github') 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 }} -- cgit v1.2.3