@@ -27,55 +27,17 @@ variables:
2727 safaridriver_diagnose : false
2828
2929jobs :
30- # The affected tests jobs are unconditional for speed, as most PRs have one or
31- # more affected tests: https://github.com/web-platform-tests/wpt/issues/13936.
32- - job : affected_safari_preview
33- displayName : ' affected tests: Safari Technology Preview'
34- condition : eq(variables['Build.Reason'], 'PullRequest')
35- pool :
36- vmImage : ' macOS-14'
37- steps :
38- - task : UsePythonVersion@0
39- inputs :
40- versionSpec : ' 3.12'
41- - template : tools/ci/azure/affected_tests.yml
42- parameters :
43- artifactName : ' safari-preview-affected-tests'
44- - template : tools/ci/azure/fyi_hook.yml
45- parameters :
46- dependsOn : affected_safari_preview
47- artifactName : safari-preview-affected-tests
48-
49- - job : affected_without_changes_safari_preview
50- displayName : ' affected tests without changes: Safari Technology Preview'
51- condition : eq(variables['Build.Reason'], 'PullRequest')
52- pool :
53- vmImage : ' macOS-14'
54- steps :
55- - task : UsePythonVersion@0
56- inputs :
57- versionSpec : ' 3.12'
58- - template : tools/ci/azure/affected_tests.yml
59- parameters :
60- checkoutCommit : ' HEAD^1'
61- affectedRange : ' HEAD@{1}'
62- artifactName : ' safari-preview-affected-tests-without-changes'
63- - template : tools/ci/azure/fyi_hook.yml
64- parameters :
65- dependsOn : affected_without_changes_safari_preview
66- artifactName : safari-preview-affected-tests-without-changes
67-
6830# The decision jobs runs `./wpt test-jobs` to determine which jobs to run,
6931# and all following jobs wait for it to finish and depend on its output.
7032- job : decision
7133 displayName : ' ./wpt test-jobs'
7234 condition : eq(variables['Build.Reason'], 'PullRequest')
7335 pool :
74- vmImage : ' ubuntu-20 .04'
36+ vmImage : ' ubuntu-24 .04'
7537 steps :
7638 - task : UsePythonVersion@0
7739 inputs :
78- versionSpec : ' 3.12 '
40+ versionSpec : ' 3.13 '
7941 - template : tools/ci/azure/checkout.yml
8042 - script : |
8143 set -eux -o pipefail
8749 name: test_jobs
8850 displayName: 'Run ./wpt test-jobs'
8951
90- - job : infrastructure_mac
91- displayName : ' infrastructure/ tests: macOS'
92- dependsOn : decision
93- condition : dependencies.decision.outputs['test_jobs.wptrunner_infrastructure']
94- pool :
95- vmImage : ' macOS-14'
96- steps :
97- - task : UsePythonVersion@0
98- inputs :
99- versionSpec : ' 3.12'
100- - template : tools/ci/azure/checkout.yml
101- - template : tools/ci/azure/install_fonts.yml
102- - template : tools/ci/azure/install_certs.yml
103- - template : tools/ci/azure/color_profile.yml
104- - template : tools/ci/azure/install_safari.yml
105- - template : tools/ci/azure/update_hosts.yml
106- - template : tools/ci/azure/update_manifest.yml
107- - script : |
108- set -eux -o pipefail
109- export SYSTEM_VERSION_COMPAT=0
110- ./wpt run --yes --no-manifest-update --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-mach - --log-mach-level info --log-wptreport $(Build.ArtifactStagingDirectory)/wpt_report_macos_safari.json --channel preview safari infrastructure/
111- condition: succeededOrFailed()
112- displayName: 'Run tests (Safari Technology Preview)'
113- - task : PublishBuildArtifacts@1
114- condition : succeededOrFailed()
115- displayName : ' Publish results'
116- inputs :
117- artifactName : ' infrastructure-results'
118- - template : tools/ci/azure/publish_logs.yml
119- - template : tools/ci/azure/sysdiagnose.yml
120-
12152 - job : tools_unittest_mac_py38
12253 displayName : ' tools/ unittests: macOS + Python 3.8'
12354 dependsOn : decision
@@ -134,21 +65,21 @@ jobs:
13465 directory : tools/
13566 toxenv : py38
13667
137- - job : tools_unittest_mac_py311
138- displayName : ' tools/ unittests: macOS + Python 3.12 '
68+ - job : tools_unittest_mac_py313
69+ displayName : ' tools/ unittests: macOS + Python 3.13 '
13970 dependsOn : decision
14071 condition : dependencies.decision.outputs['test_jobs.tools_unittest']
14172 pool :
14273 vmImage : ' macOS-14'
14374 steps :
14475 - task : UsePythonVersion@0
14576 inputs :
146- versionSpec : ' 3.12 '
77+ versionSpec : ' 3.13 '
14778 - template : tools/ci/azure/checkout.yml
14879 - template : tools/ci/azure/tox_pytest.yml
14980 parameters :
15081 directory : tools/
151- toxenv : py311
82+ toxenv : py313
15283
15384- job : wptrunner_unittest_mac_py38
15485 displayName : ' tools/wptrunner/ unittests: macOS + Python 3.8'
@@ -166,21 +97,21 @@ jobs:
16697 directory : tools/wptrunner/
16798 toxenv : py38
16899
169- - job : wptrunner_unittest_mac_py311
170- displayName : ' tools/wptrunner/ unittests: macOS + Python 3.12 '
100+ - job : wptrunner_unittest_mac_py313
101+ displayName : ' tools/wptrunner/ unittests: macOS + Python 3.13 '
171102 dependsOn : decision
172103 condition : dependencies.decision.outputs['test_jobs.wptrunner_unittest']
173104 pool :
174105 vmImage : ' macOS-14'
175106 steps :
176107 - task : UsePythonVersion@0
177108 inputs :
178- versionSpec : ' 3.12 '
109+ versionSpec : ' 3.13 '
179110 - template : tools/ci/azure/checkout.yml
180111 - template : tools/ci/azure/tox_pytest.yml
181112 parameters :
182113 directory : tools/wptrunner/
183- toxenv : py311
114+ toxenv : py313
184115
185116- job : wpt_integration_mac_py38
186117 displayName : ' tools/wpt/ tests: macOS + Python 3.8'
@@ -202,8 +133,8 @@ jobs:
202133 directory : tools/wpt/
203134 toxenv : py38
204135
205- - job : wpt_integration_mac_py311
206- displayName : ' tools/wpt/ tests: macOS + Python 3.12 '
136+ - job : wpt_integration_mac_py313
137+ displayName : ' tools/wpt/ tests: macOS + Python 3.13 '
207138 dependsOn : decision
208139 condition : dependencies.decision.outputs['test_jobs.wpt_integration']
209140 pool :
@@ -212,15 +143,15 @@ jobs:
212143 # full checkout required
213144 - task : UsePythonVersion@0
214145 inputs :
215- versionSpec : ' 3.12 '
146+ versionSpec : ' 3.13 '
216147 - template : tools/ci/azure/install_chrome.yml
217148 - template : tools/ci/azure/install_firefox.yml
218149 - template : tools/ci/azure/update_hosts.yml
219150 - template : tools/ci/azure/update_manifest.yml
220151 - template : tools/ci/azure/tox_pytest.yml
221152 parameters :
222153 directory : tools/wpt/
223- toxenv : py311
154+ toxenv : py313
224155
225156- job : tools_unittest_win_py38
226157 displayName : ' tools/ unittests: Windows + Python 3.8'
@@ -241,22 +172,22 @@ jobs:
241172 directory : tools/
242173 toxenv : py38
243174
244- - job : tools_unittest_win_py311
245- displayName : ' tools/ unittests: Windows + Python 3.12 '
175+ - job : tools_unittest_win_py313
176+ displayName : ' tools/ unittests: Windows + Python 3.13 '
246177 dependsOn : decision
247178 condition : dependencies.decision.outputs['test_jobs.tools_unittest']
248179 pool :
249180 vmImage : ' windows-2019'
250181 steps :
251182 - task : UsePythonVersion@0
252183 inputs :
253- versionSpec : ' 3.12 '
184+ versionSpec : ' 3.13 '
254185 addToPath : false
255186 - template : tools/ci/azure/checkout.yml
256187 - template : tools/ci/azure/tox_pytest.yml
257188 parameters :
258189 directory : tools/
259- toxenv : py311
190+ toxenv : py313
260191
261192- job : wptrunner_unittest_win_py38
262193 displayName : ' tools/wptrunner/ unittests: Windows + Python 3.8'
@@ -275,22 +206,22 @@ jobs:
275206 directory : tools/wptrunner/
276207 toxenv : py38
277208
278- - job : wptrunner_unittest_win_py311
279- displayName : ' tools/wptrunner/ unittests: Windows + Python 3.12 '
209+ - job : wptrunner_unittest_win_py313
210+ displayName : ' tools/wptrunner/ unittests: Windows + Python 3.13 '
280211 dependsOn : decision
281212 condition : dependencies.decision.outputs['test_jobs.wptrunner_unittest']
282213 pool :
283214 vmImage : ' windows-2019'
284215 steps :
285216 - task : UsePythonVersion@0
286217 inputs :
287- versionSpec : ' 3.12 '
218+ versionSpec : ' 3.13 '
288219 addToPath : false
289220 - template : tools/ci/azure/checkout.yml
290221 - template : tools/ci/azure/tox_pytest.yml
291222 parameters :
292223 directory : tools/wptrunner/
293- toxenv : py311
224+ toxenv : py313
294225
295226- job : wpt_integration_win_py38
296227 displayName : ' tools/wpt/ tests: Windows + Python 3.8'
@@ -314,8 +245,8 @@ jobs:
314245 directory : tools/wpt/
315246 toxenv : py38
316247
317- - job : wpt_integration_win_py311
318- displayName : ' tools/wpt/ tests: Windows + Python 3.12 '
248+ - job : wpt_integration_win_py313
249+ displayName : ' tools/wpt/ tests: Windows + Python 3.13 '
319250 dependsOn : decision
320251 condition : dependencies.decision.outputs['test_jobs.wpt_integration']
321252 pool :
@@ -324,7 +255,7 @@ jobs:
324255 # full checkout required
325256 - task : UsePythonVersion@0
326257 inputs :
327- versionSpec : ' 3.12 '
258+ versionSpec : ' 3.13 '
328259 # currently just using the outdated Chrome/Firefox on the VM rather than
329260 # figuring out how to install Chrome Dev channel on Windows
330261 # - template: tools/ci/azure/install_chrome.yml
@@ -334,7 +265,7 @@ jobs:
334265 - template : tools/ci/azure/tox_pytest.yml
335266 parameters :
336267 directory : tools/wpt/
337- toxenv : py311
268+ toxenv : py313
338269
339270- job : results_edge_stable
340271 displayName : ' all tests: Edge Stable'
@@ -350,7 +281,7 @@ jobs:
350281 steps :
351282 - task : UsePythonVersion@0
352283 inputs :
353- versionSpec : ' 3.12 '
284+ versionSpec : ' 3.13 '
354285 - template : tools/ci/azure/system_info.yml
355286 - template : tools/ci/azure/checkout.yml
356287 - template : tools/ci/azure/install_certs.yml
@@ -386,7 +317,7 @@ jobs:
386317 steps :
387318 - task : UsePythonVersion@0
388319 inputs :
389- versionSpec : ' 3.12 '
320+ versionSpec : ' 3.13 '
390321 - template : tools/ci/azure/system_info.yml
391322 - template : tools/ci/azure/checkout.yml
392323 - template : tools/ci/azure/install_certs.yml
@@ -422,7 +353,7 @@ jobs:
422353 steps :
423354 - task : UsePythonVersion@0
424355 inputs :
425- versionSpec : ' 3.12 '
356+ versionSpec : ' 3.13 '
426357 - template : tools/ci/azure/checkout.yml
427358 - template : tools/ci/azure/install_certs.yml
428359 - template : tools/ci/azure/install_edge.yml
@@ -456,7 +387,7 @@ jobs:
456387 steps :
457388 - task : UsePythonVersion@0
458389 inputs :
459- versionSpec : ' 3.12 '
390+ versionSpec : ' 3.13 '
460391 - template : tools/ci/azure/checkout.yml
461392 - template : tools/ci/azure/install_certs.yml
462393 - template : tools/ci/azure/color_profile.yml
0 commit comments