Skip to content

Commit 19fb288

Browse files
committed
update: test workflow
1 parent f17d495 commit 19fb288

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,20 @@ jobs:
1212
- uses: actions/checkout@v5
1313
with:
1414
persist-credentials: false
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: 3.14
1518
- id: setup-uv
1619
uses: astral-sh/setup-uv@v7
1720
with:
1821
enable-cache: true
19-
cache-suffix: 3.11
22+
cache-suffix: 3.14
2023
version: "latest"
21-
python-version: 3.11
24+
python-version: 3.14
2225
- name: Install deps
23-
run: uv sync --all-extras
26+
env:
27+
UV_NO_MANAGED_PYTHON: 1
28+
run: uv sync --all-extras --python 3.14
2429
- name: Run lint check
2530
run: uv run pre-commit run -a ${{ matrix.cmd }}
2631
pytest:
@@ -34,6 +39,9 @@ jobs:
3439
- uses: actions/checkout@v5
3540
with:
3641
persist-credentials: false
42+
- uses: actions/setup-python@v5
43+
with:
44+
python-version: ${{ matrix.py_version }}
3745
- id: setup-uv
3846
uses: astral-sh/setup-uv@v7
3947
with:
@@ -42,7 +50,9 @@ jobs:
4250
version: "latest"
4351
python-version: ${{ matrix.py_version }}
4452
- name: Install deps
45-
run: uv sync --all-extras
53+
env:
54+
UV_NO_MANAGED_PYTHON: 1
55+
run: uv sync --all-extras --python ${{ matrix.py_version }}
4656
- name: Setup pydantic version
4757
run: uv pip install "pydantic ${{ matrix.pydantic_ver }}"
4858
- name: Run pytest check

0 commit comments

Comments
 (0)