Skip to content

redefine it in terms of which init system is used, not which operatin… #26

redefine it in terms of which init system is used, not which operatin…

redefine it in terms of which init system is used, not which operatin… #26

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ansible-later:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ansible-later
uses: patrickjahns/ansible-later-action@v1
with:
config: ".later.yml"
path: "**/*.yml"
molecule:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ANSIBLE: "2.10"
MOLECULE_SCENARIO: default
- ANSIBLE: "3.4"
MOLECULE_SCENARIO: default
- ANSIBLE: "4.10"
MOLECULE_SCENARIO: default
- ANSIBLE: "5.10"
MOLECULE_SCENARIO: default
- ANSIBLE: "6.7"
MOLECULE_SCENARIO: default
- ANSIBLE: "7.7"
MOLECULE_SCENARIO: default
- ANSIBLE: "8.7"
MOLECULE_SCENARIO: default
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: latest
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: upgrade
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: scenario_with_local_binary_directory
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: download_and_propagate
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: default
MOLECULE_DISTRO: ubuntu2004
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: default
MOLECULE_DISTRO: ubuntu2204
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: default
MOLECULE_DISTRO: debian11
- ANSIBLE: "9.4"
MOLECULE_SCENARIO: default
MOLECULE_DISTRO: debian12
- ANSIBLE: "9.4"
MOLECULE_DISTRO: centos8
MOLECULE_SCENARIO: default
- ANSIBLE: "9.4"
MOLECULE_DISTRO: fedora39
MOLECULE_SCENARIO: default
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install tox
run: |
python -m pip install --upgrade pip
pip list
pip install tox tox-gh-actions
- name: Run molecule
env:
ANSIBLE: ${{ matrix.ANSIBLE }}
MOLECULE_DISTRO: ${{ matrix.MOLECULE_DISTRO }}
MOLECULE_SCENARIO: ${{ matrix.MOLECULE_SCENARIO }}
run: |
tox -- pip list
tox -- molecule test -s ${MOLECULE_SCENARIO} --destroy always