Files
compounding-intelligence/.gitea/workflows/test.yml
Rockachopa 501ca838c7
Some checks failed
Test / pytest (pull_request) Failing after 21s
feat(ci): integrate mypy type checker (issue #157)
- Add mypy>=1.0 to requirements.txt
- Create mypy.ini config (Python 3.11, ignore missing imports, warn_unused_ignores)
- Add `make typecheck` target (runs mypy on scripts/ and tests/)
- Update CI workflow to run typecheck before pytest
- Type checker detected per project (Python → mypy)
- Reports type errors via mypy output

Closes #157
2026-04-26 11:03:18 -04:00

26 lines
514 B
YAML

name: Test
on:
pull_request:
push:
branches: [main]
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Type check (mypy)
run: |
make typecheck
- name: Run test suite
run: |
make test