Skip to content

Commit a74dd74

Browse files
committed
bump CI to include RL9
1 parent 88dafa7 commit a74dd74

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
22
name: CI
3-
'on':
3+
on:
44
pull_request:
55
push:
66
branches:
77
- master
88

99
jobs:
10-
11-
test:
10+
molecule:
1211
name: Molecule
1312
# Workaround: systemd/kernel compatibility issue:
1413
# Failed to parse bus message: Invalid argument
@@ -25,6 +24,7 @@ jobs:
2524
matrix:
2625
image:
2726
- 'rockylinux:8.8'
27+
- 'rockylinux:9.3'
2828
scenario:
2929
- test1
3030
- test1b
@@ -75,21 +75,21 @@ jobs:
7575
ANSIBLE_FORCE_COLOR: '1'
7676
MOLECULE_IMAGE: ${{ matrix.image }}
7777

78-
runonce:
78+
checks:
7979
name: Checks
80-
runs-on: ubuntu-20.04
80+
runs-on: ubuntu-22.04
8181
steps:
8282
- name: Check out the codebase.
8383
uses: actions/checkout@v3
8484

8585
- name: Set up Python 3.
86-
uses: actions/setup-python@v4
86+
uses: actions/setup-python@v5
8787
with:
8888
python-version: '3.9'
8989

9090
- name: Install test dependencies.
9191
run: |
92-
pip3 install -U ansible molecule[podman] yamllint ansible-lint
92+
pip3 install -U ansible ansible-lint
9393
ansible-galaxy collection install containers.podman:>=1.10.1 # otherwise get https://github.com/containers/ansible-podman-collections/issues/428
9494
9595
- name: Display ansible version
@@ -101,11 +101,11 @@ jobs:
101101
- name: Create ansible.cfg with correct roles_path
102102
run: printf '[defaults]\nroles_path=../' >ansible.cfg
103103

104-
- name: Run Ansible syntax check
105-
run: ansible-playbook tests/test.yml -i tests/inventory --syntax-check
106-
107104
- name: Run Ansible lint
108105
run: ansible-lint .
109106

107+
- name: Run Ansible syntax check
108+
run: ansible-playbook tests/test.yml -i tests/inventory --syntax-check
109+
110110
- name: Test custom filters
111111
run: ansible-playbook tests/filter.yml -i tests/inventory -i tests/inventory-mock-groups

0 commit comments

Comments
 (0)