Skip to content

Commit a0d3c05

Browse files
chrisguidryclaude
andcommitted
Move Windows 3.11 coverage threshold into matrix include
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 586021e commit a0d3c05

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,18 @@ jobs:
184184
fail-fast: false
185185
matrix:
186186
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
187+
include:
188+
- python-version: "3.10"
189+
cov-threshold: 100
190+
# Python 3.11 coverage reporting is unstable, so use 98% threshold
191+
- python-version: "3.11"
192+
cov-threshold: 98
193+
- python-version: "3.12"
194+
cov-threshold: 100
195+
- python-version: "3.13"
196+
cov-threshold: 100
197+
- python-version: "3.14"
198+
cov-threshold: 100
187199
steps:
188200
- uses: actions/checkout@v6
189201

@@ -203,7 +215,7 @@ jobs:
203215
run: >
204216
uv run pytest --ignore=tests/cli
205217
--cov-branch --cov-config=.coveragerc-core
206-
--cov-fail-under=${{ matrix.python-version == '3.11' && 98 || 100 }}
218+
--cov-fail-under=${{ matrix.cov-threshold }}
207219
--cov-report=xml --cov-report=term-missing:skip-covered
208220
209221
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)