@@ -18,10 +18,10 @@ jobs:
18
18
- name : Check out code
19
19
uses : actions/checkout@v2
20
20
21
- - name : Set up Python 3.9
21
+ - name : Set up Python 3.10
22
22
uses : actions/setup-python@v1
23
23
with :
24
- python-version : 3.9
24
+ python-version : ' 3.10 '
25
25
26
26
- name : Install ansible (${{ matrix.ansible-version }})
27
27
run : pip install pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check
@@ -48,19 +48,19 @@ jobs:
48
48
strategy :
49
49
fail-fast : false
50
50
matrix :
51
- python-version : [3.8, 3.9]
52
- ansible-version : [stable-2.9 , stable-2.10 , stable-2.11, stable-2.12, stable-2.13 , devel]
51
+ python-version : [' 3.8', ' 3.9', '3.10', '3.11' ]
52
+ ansible-version : [stable-2.13 , stable-2.14 , stable-2.15 , devel]
53
53
exclude :
54
54
- ansible-version : devel
55
- python-version : 2.7
55
+ python-version : ' 3.8 '
56
56
- ansible-version : devel
57
- python-version : 3.8
58
- - ansible-version : stable-2.12
59
- python-version : 2.7
57
+ python-version : ' 3.9'
58
+ - ansible-version : stable-2.15
59
+ python-version : ' 3.8'
60
+ - ansible-version : stable-2.14
61
+ python-version : ' 3.8'
60
62
- ansible-version : stable-2.13
61
- python-version : 2.7
62
- - ansible-version : stable-2.9
63
- python-version : 3.9
63
+ python-version : ' 3.11'
64
64
65
65
steps :
66
66
- name : Set up Python ${{ matrix.python-version }}
91
91
92
92
- name : Generate coverage report
93
93
run : |
94
- if [ "${{ matrix.ansible-version }}" == "devel " ]; then pip install coverage==6 .5.0 ; fi
94
+ if [ "${{ matrix.ansible-version }}" == "stable-2.13 " ]; then pip install coverage==4 .5.4 ; fi
95
95
ansible-test coverage xml -v --group-by command --group-by version
96
96
working-directory : /home/runner/.ansible/collections/ansible_collections/infoblox/nios_modules/
97
97
@@ -108,21 +108,29 @@ jobs:
108
108
strategy :
109
109
fail-fast : false
110
110
matrix :
111
- python-version : [3.8, 3.9]
112
- ansible-version : [stable-2.9 , stable-2.10 , stable-2.11, stable-2.12, stable-2.13 , devel]
111
+ python-version : [' 3.8', ' 3.9', '3.10', '3.11' ]
112
+ ansible-version : [stable-2.13 , stable-2.14 , stable-2.15 , devel]
113
113
exclude :
114
- - ansible-version : stable-2.9
115
- python-version : 3.9
114
+ - ansible-version : devel
115
+ python-version : ' 3.8'
116
+ - ansible-version : devel
117
+ python-version : ' 3.9'
118
+ - ansible-version : stable-2.15
119
+ python-version : ' 3.8'
120
+ - ansible-version : stable-2.14
121
+ python-version : ' 3.8'
122
+ - ansible-version : stable-2.13
123
+ python-version : ' 3.11'
116
124
steps :
117
- - name : Set up Python 3.9
125
+ - name : Set up Python ${{ matrix.python-version }}
118
126
uses : actions/setup-python@v1
119
127
with :
120
- python-version : 3.9
128
+ python-version : ${{ matrix.python-version }}
121
129
122
130
- name : Check out code
123
131
uses : actions/checkout@v2
124
132
125
- - name : Install ansible-base (${{ matrix.ansible }})
133
+ - name : Install ansible-base (${{ matrix.ansible-version }})
126
134
run : pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check
127
135
128
136
- name : Download migrated collection artifacts
@@ -170,15 +178,15 @@ jobs:
170
178
strategy :
171
179
fail-fast : false
172
180
matrix :
173
- ansible-version : [stable-2.9 , stable-2.10 , stable-2.11, stable-2.12, stable-2.13 , devel]
181
+ ansible-version : [stable-2.13 , stable-2.14 , stable-2.15 , devel]
174
182
175
183
steps :
176
- - name : Set up Python 3.9
184
+ - name : Set up Python 3.10
177
185
uses : actions/setup-python@v1
178
186
with :
179
187
# it is just required to run that once as "ansible-test sanity" in the docker image
180
188
# will run on all python versions it supports.
181
- python-version : 3.9
189
+ python-version : ' 3.10 '
182
190
183
191
- name : Install ansible (${{ matrix.ansible-version }}) version
184
192
run : pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check
0 commit comments