Skip to content

Commit 23008d7

Browse files
committed
[ci] Add range of python version 3.8 to 3.13 for example tests
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 0e011c5 commit 23008d7

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

.github/workflows/python-examples.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,25 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ ubuntu, windows, macos ]
29-
release: [ stable, nightly ]
28+
include:
29+
- os: ubuntu
30+
release: stable
31+
python: '3.8'
32+
- os: ubuntu
33+
release: nightly
34+
python: '3.11'
35+
- os: windows
36+
release: stable
37+
python: '3.9'
38+
- os: windows
39+
release: nightly
40+
python: '3.12'
41+
- os: macos
42+
release: stable
43+
python: '3.10'
44+
- os: macos
45+
release: nightly
46+
python: '3.13'
3047
runs-on: ${{ format('{0}-latest', matrix.os) }}
3148
steps:
3249
- name: Checkout GitHub repo
@@ -47,7 +64,7 @@ jobs:
4764
- name: Set up Python
4865
uses: actions/setup-python@v5
4966
with:
50-
python-version: 3.8
67+
python-version: ${{ matrix.python }}
5168
- name: Install dependencies nightly non-Windows
5269
if: matrix.release == 'nightly' && matrix.os != 'windows'
5370
run: |
@@ -80,7 +97,7 @@ jobs:
8097
- name: Run tests
8198
uses: nick-invision/[email protected]
8299
with:
83-
timeout_minutes: 40
100+
timeout_minutes: 60
84101
max_attempts: 3
85102
command: |
86103
cd examples/python

0 commit comments

Comments
 (0)