Skip to content

Commit ec7d9fb

Browse files
committed
ci: add usage of Python version 3.13
1 parent 19dfb7b commit ec7d9fb

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ jobs:
6464
- name: Verify 3.12.4
6565
run: python __tests__/verify-python.py 3.12.4
6666

67+
- name: Run with setup-python 3.13.0
68+
uses: ./
69+
with:
70+
python-version: 3.13.0
71+
- name: Verify 3.13.0
72+
run: python __tests__/verify-python.py 3.13.0
73+
6774
- name: Run with setup-python 3.10
6875
id: cp310
6976
uses: ./

.github/workflows/test-python.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
24-
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3]
24+
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
2525
exclude:
2626
- os: ubuntu-22.04
2727
python: 3.8.10
@@ -59,7 +59,7 @@ jobs:
5959
fail-fast: false
6060
matrix:
6161
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
62-
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3]
62+
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
6363
exclude:
6464
- os: ubuntu-22.04
6565
python: 3.8.10
@@ -100,7 +100,7 @@ jobs:
100100
fail-fast: false
101101
matrix:
102102
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
103-
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3]
103+
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
104104
exclude:
105105
- os: ubuntu-22.04
106106
python: 3.8.10
@@ -139,7 +139,7 @@ jobs:
139139
fail-fast: false
140140
matrix:
141141
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
142-
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3']
142+
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
143143
exclude:
144144
- os: ubuntu-22.04
145145
python: 3.8.10
@@ -183,7 +183,7 @@ jobs:
183183
fail-fast: false
184184
matrix:
185185
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
186-
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3]
186+
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
187187
exclude:
188188
- os: ubuntu-22.04
189189
python: 3.8.10
@@ -318,7 +318,7 @@ jobs:
318318
fail-fast: false
319319
matrix:
320320
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
321-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
321+
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
322322
steps:
323323
- name: Checkout
324324
uses: actions/checkout@v4
@@ -342,7 +342,7 @@ jobs:
342342
fail-fast: false
343343
matrix:
344344
os: [ubuntu-latest, windows-latest, macos-latest]
345-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
345+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
346346
steps:
347347
- uses: actions/checkout@v4
348348
- name: Setup Python and check latest
@@ -377,12 +377,13 @@ jobs:
377377
3.10
378378
3.11
379379
3.12
380+
3.13
380381
check-latest: true
381382
- name: Validate version
382383
run: |
383384
$pythonVersion = (python --version)
384-
if ("$pythonVersion" -NotMatch "3.12"){
385-
Write-Host "The current version is $pythonVersion; expected version is 3.12"
385+
if ("$pythonVersion" -NotMatch "3.13"){
386+
Write-Host "The current version is $pythonVersion; expected version is 3.13"
386387
exit 1
387388
}
388389
$pythonVersion

0 commit comments

Comments
 (0)