Files
turboquant_plus/.github/workflows/ci.yml
T
e680643d7c fix: address roast review findings on scaffold #1
- Remove setup.py (version drift timebomb — pyproject.toml is sufficient)
- Fix CI: remove || true silent failure swallower, add pip caching
- Fix .gitignore: add .coverage, htmlcov/, .mypy_cache/, .DS_Store, *.so
- Fix CLAUDE.md: "CI before commit" → "CI before merge" (was impossible)
- Created #14 for mypy/ruff in CI (deferred to P3)

Roast review by @roast subagent.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:55:30 -05:00

40 lines
1022 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip packages
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest-cov
python3 -m pip install -e ".[dev]"
- name: Run tests with coverage
run: python3 -m pytest tests/ -v --tb=short --cov=turboquant --cov-fail-under=95