Skip to content

Commit 91f1a0d

Browse files
committed
Update CI workflows: remove ansible 2.14/Python 3.9, add ansible 2.17/Python 3.11
1 parent 6cbbeb3 commit 91f1a0d

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/ansible-test.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
# around creation of a new stable branch, this might cause a problem
5050
# that two different versions of ansible-test use the same sanity test
5151
# ignore.txt file.
52-
- stable-2.14
5352
- stable-2.15
5453
- stable-2.16
54+
- stable-2.17
5555
- devel
5656
# Ansible-test on various stable branches does not yet work well with cgroups v2.
5757
# Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04
@@ -60,7 +60,7 @@ jobs:
6060
# for the latest list.
6161
runs-on: >-
6262
${{ contains(fromJson(
63-
'["stable-2.14", "stable-2.15", "stable-2.16"]'
63+
'["stable-2.15", "stable-2.16", "stable-2.17"]'
6464
), matrix.ansible) && 'ubuntu-22.04' || 'ubuntu-latest' }}
6565
steps:
6666
# Run sanity tests inside a Docker container.
@@ -96,32 +96,32 @@ jobs:
9696
# for the latest list.
9797
runs-on: >-
9898
${{ contains(fromJson(
99-
'["stable-2.14", "stable-2.15", "stable-2.16"]'
99+
'["stable-2.15", "stable-2.16", "stable-2.17"]'
100100
), matrix.ansible) && 'ubuntu-22.04' || 'ubuntu-latest' }}
101101
name: Units (Ⓐ${{ matrix.versions.ansible }}+py${{ matrix.versions.python }})
102102
strategy:
103103
# As soon as the first unit test fails, cancel the others to free up the CI queue
104104
fail-fast: true
105105
matrix:
106106
versions:
107-
- ansible: stable-2.14
108-
python: "3.9"
109107
- ansible: stable-2.15
110108
python: "3.10"
111109
- ansible: stable-2.16
112110
python: "3.10"
111+
- ansible: stable-2.17
112+
python: "3.11"
113113
- ansible: devel
114114
python: "3.11"
115115

116116
steps:
117117
- name: >-
118118
Perform unit testing against
119-
Ansible version ${{ matrix.ansible }}
119+
Ansible version ${{ matrix.versions.ansible }}
120120
# See the documentation for the following GitHub action on
121121
# https://github.com/ansible-community/ansible-test-gh-action/blob/main/README.md
122122
uses: ansible-community/ansible-test-gh-action@release/v1
123123
with:
124-
ansible-core-version: ${{ matrix.ansible }}
124+
ansible-core-version: ${{ matrix.versions.ansible }}
125125
testing-type: units
126126
# OPTIONAL If your unit tests require code
127127
# from other collections, install them like this
@@ -150,20 +150,20 @@ jobs:
150150
# for the latest list.
151151
runs-on: >-
152152
${{ contains(fromJson(
153-
'["stable-2.14", "stable-2.15", "stable-2.16"]'
153+
'["stable-2.15", "stable-2.16", "stable-2.17"]'
154154
), matrix.ansible) && 'ubuntu-22.04' || 'ubuntu-latest' }}
155155
name: I (Ⓐ${{ matrix.versions.ansible }}+py${{ matrix.versions.python }})
156156
strategy:
157157
fail-fast: false
158158
matrix:
159159
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html
160160
versions:
161-
- ansible: stable-2.14
162-
python: "3.9"
163161
- ansible: stable-2.15
164162
python: "3.10"
165163
- ansible: stable-2.16
166164
python: "3.10"
165+
- ansible: stable-2.17
166+
python: "3.11"
167167
- ansible: devel
168168
python: "3.11"
169169
python:
@@ -180,16 +180,16 @@ jobs:
180180
steps:
181181
- name: >-
182182
Perform integration testing against
183-
Ansible version ${{ matrix.ansible }}
184-
under Python ${{ matrix.python }}
183+
Ansible version ${{ matrix.versions.ansible }}
184+
under Python ${{ matrix.versions.python }}
185185
# See the documentation for the following GitHub action on
186186
# https://github.com/ansible-community/ansible-test-gh-action/blob/main/README.md
187187
uses: ansible-community/ansible-test-gh-action@release/v1
188188
with:
189-
ansible-core-version: ${{ matrix.ansible }}
189+
ansible-core-version: ${{ matrix.versions.ansible }}
190190
# OPTIONAL command to run before invoking `ansible-test integration`
191191
# pre-test-cmd:
192-
target-python-version: ${{ matrix.python }}
192+
target-python-version: ${{ matrix.versions.python }}
193193
testing-type: integration
194194
# OPTIONAL If your integration tests require code
195195
# from other collections, install them like this

.github/workflows/pull-request-sanity.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
max-parallel: 4
2020
matrix:
2121
versions:
22-
- ansible: stable-2.14
23-
python: "3.9"
2422
- ansible: stable-2.15
2523
python: "3.10"
2624
- ansible: stable-2.16
2725
python: "3.11"
26+
- ansible: stable-2.17
27+
python: "3.11"
2828
- ansible: devel
2929
python: "3.11"
3030
steps:

.github/workflows/pull-request-units.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
max-parallel: 4
2020
matrix:
2121
versions:
22-
- ansible: stable-2.14
23-
python: "3.9"
2422
- ansible: stable-2.15
2523
python: "3.10"
2624
- ansible: stable-2.16
2725
python: "3.11"
26+
- ansible: stable-2.17
27+
python: "3.11"
2828
- ansible: devel
2929
python: "3.11"
3030
steps:

0 commit comments

Comments
 (0)