Try using matrix with action-molecule
This commit is contained in:
parent
6084cfce83
commit
5df70d971f
|
@ -1,20 +1,41 @@
|
||||||
---
|
---
|
||||||
name: Molecule
|
name: ipr-cnrs.nftables.molecule
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
molecule:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
config:
|
||||||
|
- os: debian
|
||||||
|
tag: latest
|
||||||
|
- os: ubuntu
|
||||||
|
tag: latest
|
||||||
|
- os: centos
|
||||||
|
tag: latest
|
||||||
|
- os: fedora
|
||||||
|
tag: latest
|
||||||
|
- os: archlinux
|
||||||
|
tag: latest
|
||||||
|
- os: latest
|
||||||
|
tag: latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
path: ${{ github.repository }}
|
||||||
|
|
||||||
- name: Ansible Molecule
|
- name: Ansible Molecule
|
||||||
uses: MonolithProjects/action-molecule@v1.4.3
|
uses: MonolithProjects/action-molecule@v1.4.3
|
||||||
|
with:
|
||||||
|
os: ${{ matrix.config.os }}
|
||||||
|
tag: ${{ matrix.config.tag }}
|
||||||
|
|
Loading…
Reference in New Issue