Skip to content

Commit e6e7bd4

Browse files
committed
Don't run typecheck on pre-release versions of Python and change how Python is installed for tests
1 parent e6d6cdc commit e6e7bd4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@ jobs:
2424
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0 # Needed for setuptools_scm to work correctly
27-
- name: Install uv and set the python version
27+
- name: Install uv
2828
uses: astral-sh/setup-uv@v6
29+
30+
- name: Set up Python ${{ matrix.python-version }}
31+
uses: actions/setup-python@v5
2932
with:
3033
python-version: ${{ matrix.python-version }}
34+
allow-prereleases: true
3135
- name: Install the project
3236
run: uv sync --all-extras --dev
3337

.github/workflows/typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1919
fail-fast: false
2020
defaults:
2121
run:

0 commit comments

Comments
 (0)