-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (42 loc) · 954 Bytes
/
molecule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: Ansible Molecule
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
tags_ignore:
- '*'
pull_request:
schedule:
- cron: '28 15 13 * *'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: molecule
uses: ansible/ansible-lint@main
test:
needs:
- lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- image: amazonlinux2
- image: ubuntu2204
- image: rockylinux8
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/[email protected]
with:
image: ${{ matrix.config.image }}
tag: ${{ matrix.config.tag }}
options: "--parallel all"
env:
TOX_PARALLEL_NO_SPINNER: 1