Skip to content

add molecule github actions #8

add molecule github actions

add molecule github actions #8

Workflow file for this run

---
name: Molecule
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
scenario:
- centos-7
- centos-8-stream
- centos-9-stream
- debian-10
- debian-11
- debian-12
- fedora-38
- fedora-39
- oraclelinux-7
- oraclelinux-8
- oraclelinux-9
- ubuntu-20.04
- ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: Molecule
uses: gofrolist/molecule-action@v2
with:
molecule_working_dir: "${{ github.repository }}"
molecule_options: --base-config molecule/_shared/base.yml
molecule_args: --scenario-name ${{ matrix.scenario }}