Skip to content

[#80] Cycle-3: tighten the smooth gate so the curve-refit must earn i… #149

[#80] Cycle-3: tighten the smooth gate so the curve-refit must earn i…

[#80] Cycle-3: tighten the smooth gate so the curve-refit must earn i… #149

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y potrace libcairo2 libcairo2-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint (ruff)
run: ruff check .
- name: Marker check (no unfinished-work markers in src/)
run: |
if git grep -nE 'TODO|FIXME|stub|mock|placeholder' -- src/; then
echo "::error::Found an unfinished-work marker in src/"
exit 1
fi
- name: Tests (pytest)
run: pytest
- name: Quality gate (corpus golden thresholds)
run: pytest tests/test_corpus.py -v