15
15
strategy :
16
16
fail-fast : false
17
17
matrix :
18
- ansible : [v2.14.13 , v2.15.8 , v2.16.2 , stable-2.16]
18
+ ansible : [v2.14.16 , v2.15.11 , v2.16.6 , stable-2.16, stable-2.17 ]
19
19
steps :
20
20
- name : Check out code
21
21
uses : actions/checkout@v4
@@ -60,19 +60,22 @@ jobs:
60
60
- build
61
61
- black-formating
62
62
runs-on : ubuntu-latest
63
+ strategy :
64
+ matrix :
65
+ ansible : [stable-2.17]
63
66
steps :
64
67
- name : Set up Python ${{ env.python_version }}
65
68
uses : actions/setup-python@v5
66
69
with :
67
70
python-version : ${{ env.python_version }}
68
71
69
- - name : Install ansible-base (v2.15.8 )
70
- run : pip install https://github.com/ansible/ansible/archive/v2.15.8 .tar.gz --disable-pip-version-check
72
+ - name : Install ansible-base (${{ matrix.ansible }} )
73
+ run : pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }} .tar.gz --disable-pip-version-check
71
74
72
75
- name : Download migrated collection artifacts
73
76
uses : actions/download-artifact@v4
74
77
with :
75
- name : collection-stable-2.16
78
+ name : collection-${{ matrix.ansible }}
76
79
path : .cache/collection-tarballs
77
80
78
81
- name : Install the collection tarball
@@ -105,7 +108,6 @@ jobs:
105
108
name : galaxy-importer-log
106
109
path : .cache/collection-tarballs/importer_result.json
107
110
108
-
109
111
sanity :
110
112
name : Sanity in ubuntu-latest
111
113
needs :
@@ -114,7 +116,7 @@ jobs:
114
116
strategy :
115
117
fail-fast : false
116
118
matrix :
117
- ansible : [v2.14.13 , v2.15.8 , v2.16.2 , stable-2.16]
119
+ ansible : [v2.14.16 , v2.15.11 , v2.16.6 , stable-2.16, stable-2.17 ]
118
120
steps :
119
121
- name : Set up Python ${{ env.python_version }}
120
122
uses : actions/setup-python@v5
@@ -158,13 +160,12 @@ jobs:
158
160
strategy :
159
161
fail-fast : false
160
162
matrix :
161
- ansible : [v2.14.13, v2.15.8, v2.16.2, stable-2.16]
162
- python-version : ['3.10']
163
+ ansible : [v2.14.16, v2.15.11, v2.16.6, stable-2.16, stable-2.17]
163
164
steps :
164
- - name : Set up Python ${{ matrix.python-version }}
165
+ - name : Set up Python ${{ env.python_version }}
165
166
uses : actions/setup-python@v5
166
167
with :
167
- python-version : ${{ matrix.python-version }}
168
+ python-version : ${{ env.python_version }}
168
169
169
170
- name : Install ansible-base (${{ matrix.ansible }})
170
171
run : pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
@@ -182,7 +183,7 @@ jobs:
182
183
run : ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz
183
184
184
185
# - name: Run unit tests
185
- # run: ansible-test units --docker -v --color --truncate 0 --python ${{ matrix.python-version }} --coverage
186
+ # run: ansible-test units --docker -v --color --truncate 0 --python ${{ env.python_version }} --coverage
186
187
# working-directory: /home/runner/.ansible/collections/ansible_collections/cisco/aci
187
188
188
189
# - name: Generate coverage report.
@@ -199,6 +200,9 @@ jobs:
199
200
# - units
200
201
- sanity
201
202
runs-on : ubuntu-latest
203
+ strategy :
204
+ matrix :
205
+ ansible : [stable-2.17]
202
206
env :
203
207
MUTEX_URL : https://8v7s765ibh.execute-api.us-west-1.amazonaws.com
204
208
steps :
@@ -207,16 +211,16 @@ jobs:
207
211
with :
208
212
python-version : ${{ env.python_version }}
209
213
210
- - name : Install ansible-base (v2.15.8 )
211
- run : pip install https://github.com/ansible/ansible/archive/v2.15.8 .tar.gz --disable-pip-version-check
214
+ - name : Install ansible-base (${{ matrix.ansible }} )
215
+ run : pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }} .tar.gz --disable-pip-version-check
212
216
213
217
- name : Install coverage (v4.5.4)
214
218
run : pip install coverage==4.5.4
215
219
216
220
- name : Download migrated collection artifacts
217
221
uses : actions/download-artifact@v4
218
222
with :
219
- name : collection-stable-2.16
223
+ name : collection-${{ matrix.ansible }}
220
224
path : .cache/collection-tarballs
221
225
222
226
- name : Install the collection tarball
0 commit comments