Some checks failed
Test / pytest (pull_request) Failing after 21s
- 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
26 lines
514 B
YAML
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
|