Skip to content

Commit 3dbb9c6

Browse files
committed
👷 limit type-checking to only two python versions
1 parent 3809899 commit 3dbb9c6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,21 @@ jobs:
5555
- name: format-ignores
5656
run: uv run tool/format_ignores.py --check
5757

58+
# NOTE: Static typing only differs between `python<3.12` and otherwise,
59+
# so there's no need to run the type-checkers on all Python versions.
60+
5861
basedpyright:
5962
runs-on: ubuntu-latest
6063
timeout-minutes: 5
6164
strategy:
6265
fail-fast: false
6366
matrix:
64-
py: ["3.11", "3.12", "3.13", "3.14"]
67+
py: ["3.11", "3.13"]
6568
steps:
6669
- uses: actions/[email protected]
6770

6871
- uses: astral-sh/[email protected]
6972
with:
70-
enable-cache: true
7173
python-version: ${{ matrix.py }}
7274

7375
- name: basedpyright
@@ -79,7 +81,7 @@ jobs:
7981
strategy:
8082
fail-fast: false
8183
matrix:
82-
py: ["3.11", "3.12", "3.13", "3.14"]
84+
py: ["3.11", "3.13"]
8385
steps:
8486
- uses: actions/[email protected]
8587

@@ -90,6 +92,8 @@ jobs:
9092
- name: mypy
9193
run: uv run --no-editable mypy --no-incremental --cache-dir=/dev/null .
9294

95+
# NOTE: Stubtest does runtime inspections, so we consider all Python versions.
96+
9397
stubtest:
9498
runs-on: ${{ matrix.os }}
9599
timeout-minutes: 5

0 commit comments

Comments
 (0)