Skip to content

Fix broken test matrix #73

Fix broken test matrix

Fix broken test matrix #73

Workflow file for this run

---
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
branches:
- master
paths-ignore:
- 'README.md'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@4.0.9
with:
command: lint
test:
needs:
- lint
runs-on: ubuntu-latest
strategy:
matrix:
scenario:
- php7.4
- php8.0
- default # PHP 8.1 and beyond. Only uses 8.1 style lists for all php versions.
- php81legacy # Mixes new 8.1 style list and keeps pre-8.1 module lists.
image:
- geerlingguy/docker-ubuntu2404-ansible:latest
- geerlingguy/docker-ubuntu2204-ansible:latest
- geerlingguy/docker-ubuntu2004-ansible:latest
- geerlingguy/docker-ubuntu1804-ansible:latest
- geerlingguy/docker-ubuntu1604-ansible:latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@6.0.1
with:
options: parallel
scenario: "${{ matrix.scenario }}"
env:
MOLECULE_DOCKER_IMAGE: "${{ matrix.image }}"