Skip to content

Commit 8c1f577

Browse files
committed
test sanity matrix
1 parent 71b267b commit 8c1f577

1 file changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/ansible-test-sanity.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,21 @@ jobs:
2626
# Each version listed below will spawn a separate job that runs in parallel.
2727
matrix:
2828
ansible:
29-
# Supported versions (must pass)
3029
- 'stable-2.18' # Python 3.11 - 3.13
3130
- 'stable-2.19' # Python 3.11 - 3.13
3231
- 'devel' # Test against the upcoming development version.
32+
python:
33+
- '3.11'
34+
- '3.12'
35+
- '3.13'
3336
steps:
3437
- uses: actions/checkout@v5
3538

3639
- name: ansible-test - sanity
3740
uses: ansible-community/ansible-test-gh-action@release/v1
3841
with:
3942
ansible-core-version: ${{ matrix.ansible }}
43+
target-python-version: ${{ matrix.python }}
4044
testing-type: sanity
4145

4246
sanity-eol:
@@ -51,17 +55,34 @@ jobs:
5155
# Each version listed below will spawn a separate job that runs in parallel.
5256
matrix:
5357
ansible:
54-
# EOL versions (allowed to fail)
55-
# NOTE: Ensure that meta/runtime.yml `requires_ansible` version is aligned with tested versions.
5658
- 'stable-2.14' # Python 3.9 - 3.11
5759
- 'stable-2.15' # Python 3.9 - 3.11
5860
- 'stable-2.16' # Python 3.10 - 3.12
5961
- 'stable-2.17' # Python 3.10 - 3.12
62+
python:
63+
- '3.9'
64+
- '3.10'
65+
- '3.11'
66+
- '3.12'
67+
exclude:
68+
# Exclusions for incompatible Python versions.
69+
- ansible: 'stable-2.14'
70+
python: '3.12'
71+
72+
- ansible: 'stable-2.15'
73+
python: '3.12'
74+
75+
- ansible: 'stable-2.16'
76+
python: '3.9'
77+
78+
- ansible: 'stable-2.17'
79+
python: '3.9'
6080
steps:
6181
- uses: actions/checkout@v5
6282

6383
- name: ansible-test - sanity
6484
uses: ansible-community/ansible-test-gh-action@release/v1
6585
with:
6686
ansible-core-version: ${{ matrix.ansible }}
87+
target-python-version: ${{ matrix.python }}
6788
testing-type: sanity

0 commit comments

Comments
 (0)