File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : CI
3
- ' on ' :
3
+ on :
4
4
pull_request :
5
5
push :
6
6
branches :
7
7
- master
8
8
9
9
jobs :
10
-
11
- test :
10
+ molecule :
12
11
name : Molecule
13
12
# Workaround: systemd/kernel compatibility issue:
14
13
# Failed to parse bus message: Invalid argument
25
24
matrix :
26
25
image :
27
26
- ' rockylinux:8.8'
27
+ - ' rockylinux:9.3'
28
28
scenario :
29
29
- test1
30
30
- test1b
@@ -75,21 +75,21 @@ jobs:
75
75
ANSIBLE_FORCE_COLOR : ' 1'
76
76
MOLECULE_IMAGE : ${{ matrix.image }}
77
77
78
- runonce :
78
+ checks :
79
79
name : Checks
80
- runs-on : ubuntu-20 .04
80
+ runs-on : ubuntu-22 .04
81
81
steps :
82
82
- name : Check out the codebase.
83
83
uses : actions/checkout@v3
84
84
85
85
- name : Set up Python 3.
86
- uses : actions/setup-python@v4
86
+ uses : actions/setup-python@v5
87
87
with :
88
88
python-version : ' 3.9'
89
89
90
90
- name : Install test dependencies.
91
91
run : |
92
- pip3 install -U ansible molecule[podman] yamllint ansible-lint
92
+ pip3 install -U ansible ansible-lint
93
93
ansible-galaxy collection install containers.podman:>=1.10.1 # otherwise get https://github.com/containers/ansible-podman-collections/issues/428
94
94
95
95
- name : Display ansible version
@@ -101,11 +101,11 @@ jobs:
101
101
- name : Create ansible.cfg with correct roles_path
102
102
run : printf '[defaults]\nroles_path=../' >ansible.cfg
103
103
104
- - name : Run Ansible syntax check
105
- run : ansible-playbook tests/test.yml -i tests/inventory --syntax-check
106
-
107
104
- name : Run Ansible lint
108
105
run : ansible-lint .
109
106
107
+ - name : Run Ansible syntax check
108
+ run : ansible-playbook tests/test.yml -i tests/inventory --syntax-check
109
+
110
110
- name : Test custom filters
111
111
run : ansible-playbook tests/filter.yml -i tests/inventory -i tests/inventory-mock-groups
You can’t perform that action at this time.
0 commit comments