-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.05 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
name: Ansible Role Percona XtraDB Cluster
'on':
push:
defaults:
run:
working-directory: 'percona_xtradb_cluster'
jobs:
lint:
name: Linting ansible role bmeme.percona_xtradb_cluster
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.percona_xtradb_cluster
# 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"]
# 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 }}