From ec361d27f6b628178363f4f21ba0cc9481bcd01c Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Mon, 10 Jul 2023 11:57:16 +0200 Subject: [PATCH] github molecule workflow : use distro strategy --- .github/workflows/molecule.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 5223e90..ffeb383 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -10,6 +10,12 @@ jobs: ansible-latest: name: latest ansible version runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + distro: + - debian11 + - debian12 steps: - uses: actions/checkout@v2 @@ -26,9 +32,16 @@ jobs: env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1' + MOLECULE_DISTRO: ${{ matrix.distro }} ansible-pinned: name: pinned ansible version runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + distro: + - debian11 + - debian12 steps: - uses: actions/checkout@v2 @@ -45,9 +58,16 @@ jobs: env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1' + MOLECULE_DISTRO: ${{ matrix.distro }} ansible-legacy: name: legacy ansible version runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + distro: + - debian11 + - debian12 steps: - uses: actions/checkout@v2 @@ -64,3 +84,4 @@ jobs: env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1' + MOLECULE_DISTRO: ${{ matrix.distro }}