Skip to content

Commit 4b9e944

Browse files
committed
Align CI workflows with trimmed tox matrix
Remove old type-checker versions (pyright1392/1400, mypy115/117) from CI push and nightly matrices — they were removed from tox.toml but CI still referenced them, causing failures.
1 parent 7a02c67 commit 4b9e944

File tree

2 files changed

+12
-53
lines changed

2 files changed

+12
-53
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ jobs:
9393
fail-fast: false
9494
matrix:
9595
include:
96-
- { env: py312-bt022-type-pyright1408 }
97-
- { env: py312-bt022-type-mypy119 }
98-
- { env: py312-bt022-type-ty }
96+
- { env: py313-bt022-type-pyright1408 }
97+
- { env: py313-bt022-type-mypy119 }
98+
- { env: py313-bt022-type-ty }
9999
name: ${{ matrix.env }}
100100
steps:
101101
- uses: actions/checkout@v6
@@ -132,13 +132,9 @@ jobs:
132132
fail-fast: false
133133
matrix:
134134
include:
135-
- { env: py312-bt022-type-pyright1392 }
136-
- { env: py312-bt022-type-pyright1400 }
137-
- { env: py312-bt022-type-pyright1408 }
138-
- { env: py312-bt022-type-mypy115 }
139-
- { env: py312-bt022-type-mypy117 }
140-
- { env: py312-bt022-type-mypy119 }
141-
- { env: py312-bt022-type-ty }
135+
- { env: py313-bt022-type-pyright1408 }
136+
- { env: py313-bt022-type-mypy119 }
137+
- { env: py313-bt022-type-ty }
142138
name: ${{ matrix.env }}
143139
steps:
144140
- uses: actions/checkout@v6

.github/workflows/nightly.yml

Lines changed: 6 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -11,62 +11,31 @@ concurrency:
1111

1212
jobs:
1313
# -----------------------------------------------------------------------
14-
# Broad version compatpy312 × all beartype × all backends
14+
# Full tox matrixoldest + newest of each axis
1515
# -----------------------------------------------------------------------
1616

1717
compat-nightly:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
python: [py312]
23-
beartype: [bt020, bt021, bt022]
22+
python: [py312, py313]
23+
beartype: [bt020, bt022]
2424
backend:
2525
- numpy22
26-
- numpy23
2726
- numpy24
2827
- jax05
29-
- jax06
30-
- jax07
31-
- jax08
3228
- jax09
3329
- torch26
34-
- torch27
35-
- torch28
36-
- torch29
3730
- torch210
3831
- optree014
39-
- optree015
40-
- optree016
41-
- optree017
42-
- optree018
4332
- optree019
4433
name: ${{ matrix.python }}-${{ matrix.beartype }}-${{ matrix.backend }}
4534
steps:
4635
- uses: actions/checkout@v6
4736
- uses: astral-sh/setup-uv@v7
4837
- run: uv run tox run -e "${{ matrix.python }}-${{ matrix.beartype }}-${{ matrix.backend }}"
4938

50-
# -----------------------------------------------------------------------
51-
# Latest backends on py313/py314
52-
# -----------------------------------------------------------------------
53-
54-
compat-nightly-py:
55-
runs-on: ubuntu-latest
56-
strategy:
57-
fail-fast: false
58-
matrix:
59-
python: [py313, py314]
60-
beartype: [bt022]
61-
backend: [numpy24, jax09, torch210, optree019]
62-
exclude:
63-
- { python: py314, backend: torch210 }
64-
name: ${{ matrix.python }}-${{ matrix.beartype }}-${{ matrix.backend }}
65-
steps:
66-
- uses: actions/checkout@v6
67-
- uses: astral-sh/setup-uv@v7
68-
- run: uv run tox run -e "${{ matrix.python }}-${{ matrix.beartype }}-${{ matrix.backend }}"
69-
7039
# -----------------------------------------------------------------------
7140
# All typechecker versions
7241
# -----------------------------------------------------------------------
@@ -77,15 +46,9 @@ jobs:
7746
fail-fast: false
7847
matrix:
7948
include:
80-
- { env: py312-bt022-type-pyright1392 }
81-
- { env: py312-bt022-type-pyright1400 }
82-
- { env: py312-bt022-type-pyright1408 }
83-
- { env: py312-bt022-type-mypy115 }
84-
- { env: py312-bt022-type-mypy116 }
85-
- { env: py312-bt022-type-mypy117 }
86-
- { env: py312-bt022-type-mypy118 }
87-
- { env: py312-bt022-type-mypy119 }
88-
- { env: py312-bt022-type-ty }
49+
- { env: py313-bt022-type-pyright1408 }
50+
- { env: py313-bt022-type-mypy119 }
51+
- { env: py313-bt022-type-ty }
8952
name: ${{ matrix.env }}
9053
steps:
9154
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)