Skip to content

Commit 2cf2b0c

Browse files
committed
Add Python 3.13t to test workflow
1 parent 77da3f5 commit 2cf2b0c

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,21 @@ jobs:
2121
- '3.11'
2222
- '3.12'
2323
- '3.13'
24+
- '3.13t'
2425

26+
env:
27+
UV_PYTHON: ${{ matrix.python-version }}
2528
steps:
2629
- uses: actions/checkout@v4
27-
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v5
30+
- uses: astral-sh/setup-uv@v4
2931
with:
30-
python-version: ${{ matrix.python-version }}
31-
allow-prereleases: true
32+
enable-cache: false
3233
- name: Install
3334
run: |
34-
python -m venv .venv
35-
source .venv/bin/activate
36-
pip install maturin
37-
maturin develop --extras=test
35+
uv python install ${{ env.UV_PYTHON }}
36+
uv venv .venv
37+
uv pip install maturin
38+
uv run --no-sync maturin develop --uv --extras=test
3839
- name: Test
3940
run: |
4041
source .venv/bin/activate
@@ -51,20 +52,21 @@ jobs:
5152
- '3.11'
5253
- '3.12'
5354
- '3.13'
55+
- '3.13t'
5456

57+
env:
58+
UV_PYTHON: ${{ matrix.python-version }}
5559
steps:
5660
- uses: actions/checkout@v4
57-
- name: Set up Python ${{ matrix.python-version }}
58-
uses: actions/setup-python@v5
61+
- uses: astral-sh/setup-uv@v4
5962
with:
60-
python-version: ${{ matrix.python-version }}
61-
allow-prereleases: true
63+
enable-cache: false
6264
- name: Install
6365
run: |
64-
python -m venv .venv
65-
source .venv/bin/activate
66-
pip install maturin
67-
maturin develop --extras=test
66+
uv python install ${{ env.UV_PYTHON }}
67+
uv venv .venv
68+
uv pip install maturin
69+
uv run --no-sync maturin develop --uv --extras=test
6870
- name: Test
6971
run: |
7072
source .venv/bin/activate

0 commit comments

Comments
 (0)