-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.03 KB
/
ci.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
44
45
46
47
---
name: Ansible Role Mule
'on':
push:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
-
name: Check out the codebase.
uses: actions/checkout@v3
-
name: Run ansible-lint
uses: ansible/ansible-lint@main
test:
name: Testing ansible role bmeme.mule
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
distro:
- "rockylinux:8.7-2.11"
- "rockylinux:8.8-2.11"
- "rockylinux:8.9-2.11"
- "rockylinux:9.3-2.15"
- "ubuntu:22.04-2.17"
- "ubuntu:22.04-2.13"
- "ubuntu:20.04-2.13"
- "ubuntu:20.04-2.11"
steps:
- name: Check out the codebase.
uses: actions/checkout@v3
-
name: Molecule test
uses: gofrolist/molecule-action@v2
with:
molecule_options: --debug
molecule_args: -d docker
molecule_command: test
env:
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}