Skip to content

Sprint 5: __all__ exports, --doctor CLI, source_url on TweakDef, type… #13

Sprint 5: __all__ exports, --doctor CLI, source_url on TweakDef, type…

Sprint 5: __all__ exports, --doctor CLI, source_url on TweakDef, type… #13

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint-and-test:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Lint (ruff)
run: python -m ruff check regilattice/ tests/
- name: Type check (mypy)
run: python -m mypy regilattice/
- name: Test (pytest + coverage)
run: python -m pytest tests/ -x --tb=short --cov=regilattice --cov-report=term-missing --cov-report=xml
- name: Upload coverage artifact
if: matrix.python-version == '3.12'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml