This repository has been archived by the owner on Jan 6, 2024. It is now read-only.
Happy Newmanium 2024/Update Role. #414
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# | |
# Ansible managed | |
# | |
name: Ansible Molecule | |
on: | |
push: | |
branches: | |
- master | |
- main | |
- testing | |
paths-ignore: | |
- '**/README.md' | |
- '**/CHANGELOG.md' | |
tags_ignore: | |
- '*' | |
pull_request: | |
schedule: | |
- cron: '13 7 7 * *' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: ansible-lint | |
uses: ansible-community/ansible-lint-action@main | |
test: | |
needs: | |
- lint | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- image: "docker-ubuntu-systemd" | |
tag: "latest" | |
- image: "docker-ubuntu-systemd" | |
tag: "focal" | |
- image: "docker-ubuntu-systemd" | |
tag: "bionic" | |
- image: "enterpriselinux" | |
tag: "7" | |
- image: "enterpriselinux" | |
tag: "8" | |
- image: "enterpriselinux" | |
tag: "latest" | |
- image: "debian-systemd" | |
tag: "latest" | |
- image: "debian-systemd" | |
tag: "bullseye" | |
- image: "fedora-systemd" | |
tag: "38" | |
- image: "fedora-systemd" | |
tag: "latest" | |
- image: "fedora-systemd" | |
tag: "rawhide" | |
- image: "docker-opensuse-systemd" | |
tag: "latest" | |
steps: | |
- name: Checkout Role | |
uses: actions/checkout@v4 | |
with: | |
path: "${{ github.repository }}" | |
- name: Running Molecule Test | |
uses: buluma/molecule-action@v6.0.0 | |
with: | |
image: ${{ matrix.config.image }} | |
tag: ${{ matrix.config.tag }} |