File tree Expand file tree Collapse file tree 6 files changed +18
-5
lines changed
actions/setup-test-environment Expand file tree Collapse file tree 6 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : " Setup Test Environment"
2
2
description : " Setup common environment for testing jobs"
3
3
4
+ inputs :
5
+ python-version :
6
+ description : " Python version to install"
7
+ required : false
8
+ default : " 3.10"
9
+
4
10
runs :
5
11
using : " composite"
6
12
steps :
21
27
- name : Install uv
22
28
uses : astral-sh/setup-uv@v3
23
29
with :
24
- python-version : 3.9
30
+ python-version : ${{ inputs.python-version }}
Original file line number Diff line number Diff line change @@ -18,10 +18,17 @@ jobs:
18
18
- mixed
19
19
- mixed_sub
20
20
- mixed_sub_multiple
21
+ python-version :
22
+ - " 3.10"
23
+ - " 3.11"
24
+ - " 3.12"
25
+ - " 3.13"
21
26
steps :
22
27
- name : Checkout
23
28
uses : actions/checkout@v4
24
29
- name : Setup Environment
25
30
uses : ./.github/actions/setup-test-environment
31
+ with :
32
+ python-version : ${{ matrix.python-version }}
26
33
- name : Test
27
34
run : task ${{ matrix.crate }}:test
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "maturin"
5
5
[project ]
6
6
name = " mixed"
7
7
version = " 0.1"
8
- requires-python = " >=3.9 "
8
+ requires-python = " >=3.10 "
9
9
10
10
[tool .maturin ]
11
11
python-source = " python"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "maturin"
5
5
[project ]
6
6
name = " mixed_sub"
7
7
version = " 0.1"
8
- requires-python = " >=3.9 "
8
+ requires-python = " >=3.10 "
9
9
10
10
[tool .maturin ]
11
11
python-source = " python"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "maturin"
5
5
[project ]
6
6
name = " mixed_sub_multiple"
7
7
version = " 0.1"
8
- requires-python = " >=3.9 "
8
+ requires-python = " >=3.10 "
9
9
10
10
[tool .maturin ]
11
11
python-source = " python"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "maturin"
5
5
[project ]
6
6
name = " pure"
7
7
version = " 0.1"
8
- requires-python = " >=3.9 "
8
+ requires-python = " >=3.10 "
9
9
10
10
[tool .maturin ]
11
11
features = [" pyo3/extension-module" ]
You can’t perform that action at this time.
0 commit comments