Skip to content

Commit e75bbc9

Browse files
chrisdpurcellclaude
andcommitted
ci: add Python 3.12/3.13/3.14 matrix and coverage gate
- Add strategy.matrix for python-version: ["3.12", "3.13", "3.14"] on test job - Add --cov-fail-under=80 to pytest invocation - Lint job stays on single Python version (no matrix needed for style checks) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7364540 commit e75bbc9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ on:
99
jobs:
1010
test:
1111
runs-on: [self-hosted, linux, l3digital]
12+
strategy:
13+
matrix:
14+
python-version: ["3.12", "3.13", "3.14"]
1215

1316
steps:
1417
- uses: actions/checkout@v4
1518

16-
- name: Set up Python 3.14
19+
- name: Set up Python ${{ matrix.python-version }}
1720
uses: actions/setup-python@v5
1821
with:
19-
python-version: '3.14'
22+
python-version: ${{ matrix.python-version }}
2023

2124
- name: Install uv
2225
run: pip install uv
@@ -25,7 +28,7 @@ jobs:
2528
run: uv pip install --system -r requirements.txt
2629

2730
- name: Run tests
28-
run: pytest tests/ -v --cov=src --cov-report=xml
31+
run: pytest tests/ -v --cov=src --cov-report=xml --cov-fail-under=80
2932

3033
- name: Upload coverage to Codecov
3134
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)