Skip to content

Commit 8dffdda

Browse files
Add python 3.11 to CI #2730 #2731
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 7ac6055 commit 8dffdda

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/about-files-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
max-parallel: 4
1414
matrix:
15-
python-version: [3.7]
15+
python-version: [3.9]
1616

1717
steps:
1818
- name: Checkout code

azure-pipelines.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
parameters:
9696
job_name: ubuntu18_cpython
9797
image_name: ubuntu-18.04
98-
python_versions: ['3.8', '3.9', '3.10']
98+
python_versions: ['3.8', '3.9', '3.10', '3.11']
9999
python_architecture: x64
100100
test_suites:
101101
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
@@ -104,7 +104,7 @@ jobs:
104104
parameters:
105105
job_name: ubuntu20_cpython
106106
image_name: ubuntu-20.04
107-
python_versions: ['3.8', '3.9', '3.10']
107+
python_versions: ['3.8', '3.9', '3.10', '3.11']
108108
python_architecture: x64
109109
test_suites:
110110
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
@@ -113,7 +113,7 @@ jobs:
113113
parameters:
114114
job_name: ubuntu22_cpython
115115
image_name: ubuntu-22.04
116-
python_versions: ['3.8', '3.9', '3.10']
116+
python_versions: ['3.8', '3.9', '3.10', '3.11']
117117
python_architecture: x64
118118
test_suites:
119119
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
@@ -122,7 +122,7 @@ jobs:
122122
parameters:
123123
job_name: macos11_cpython
124124
image_name: macos-11
125-
python_versions: ['3.8', '3.9', '3.10']
125+
python_versions: ['3.8', '3.9', '3.10', '3.11']
126126
python_architecture: x64
127127
test_suites:
128128
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
@@ -131,7 +131,7 @@ jobs:
131131
parameters:
132132
job_name: macos12_cpython
133133
image_name: macos-12
134-
python_versions: ['3.8', '3.9', '3.10']
134+
python_versions: ['3.8', '3.9', '3.10', '3.11']
135135
python_architecture: x64
136136
test_suites:
137137
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
@@ -149,7 +149,7 @@ jobs:
149149
parameters:
150150
job_name: win2019_cpython_2
151151
image_name: windows-2019
152-
python_versions: ['3.9', '3.10']
152+
python_versions: ['3.9', '3.10', '3.11']
153153
python_architecture: x64
154154
test_suites:
155155
all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
@@ -167,7 +167,7 @@ jobs:
167167
parameters:
168168
job_name: win2022_cpython_2
169169
image_name: windows-2022
170-
python_versions: ['3.9', '3.10']
170+
python_versions: ['3.9', '3.10', '3.11']
171171
python_architecture: x64
172172
test_suites:
173173
all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
@@ -182,7 +182,7 @@ jobs:
182182
parameters:
183183
job_name: ubuntu20_test_all_supported_click_versions
184184
image_name: ubuntu-20.04
185-
python_versions: ['3.8', '3.9', '3.10']
185+
python_versions: ['3.8', '3.9', '3.10', '3.11']
186186
python_architecture: x64
187187
test_suites:
188188
click_versions: |
@@ -202,55 +202,55 @@ jobs:
202202
parameters:
203203
job_name: ubuntu22_cpython_latest_from_pip
204204
image_name: ubuntu-22.04
205-
python_versions: ['3.8', '3.9', '3.10']
205+
python_versions: ['3.8', '3.9', '3.10', '3.11']
206206
test_suites:
207207
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
208208

209209
- template: etc/ci/azure-posix.yml
210210
parameters:
211211
job_name: ubuntu18_cpython_latest_from_pip
212212
image_name: ubuntu-18.04
213-
python_versions: ['3.8', '3.9', '3.10']
213+
python_versions: ['3.8', '3.9', '3.10', '3.11']
214214
test_suites:
215215
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
216216

217217
- template: etc/ci/azure-posix.yml
218218
parameters:
219219
job_name: ubuntu20_cpython_latest_from_pip
220220
image_name: ubuntu-20.04
221-
python_versions: ['3.8', '3.9', '3.10']
221+
python_versions: ['3.8', '3.9', '3.10', '3.11']
222222
test_suites:
223223
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
224224

225225
- template: etc/ci/azure-posix.yml
226226
parameters:
227227
job_name: macos11_cpython_latest_from_pip
228228
image_name: macos-11
229-
python_versions: ['3.8', '3.9', '3.10']
229+
python_versions: ['3.8', '3.9', '3.10', '3.11']
230230
test_suites:
231231
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
232232

233233
- template: etc/ci/azure-posix.yml
234234
parameters:
235235
job_name: macos12_cpython_latest_from_pip
236236
image_name: macos-12
237-
python_versions: ['3.8', '3.9', '3.10']
237+
python_versions: ['3.8', '3.9', '3.10', '3.11']
238238
test_suites:
239239
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
240240

241241
- template: etc/ci/azure-win.yml
242242
parameters:
243243
job_name: win2019_cpython_latest_from_pip
244244
image_name: windows-2019
245-
python_versions: ['3.8', '3.9', '3.10']
245+
python_versions: ['3.8', '3.9', '3.10', '3.11']
246246
test_suites:
247247
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
248248

249249
- template: etc/ci/azure-win.yml
250250
parameters:
251251
job_name: win2022_cpython_latest_from_pip
252252
image_name: windows-2022
253-
python_versions: ['3.8', '3.9', '3.10']
253+
python_versions: ['3.8', '3.9', '3.10', '3.11']
254254
test_suites:
255255
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[dev] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
256256

0 commit comments

Comments
 (0)