gabriel / muse public
ci.yml yaml
34 lines 623 B
e74bbfd6 chore: ignore .hypothesis, .pytest_cache, .mypy_cache, .ruff_cache; add… gabriel 8h ago
1 name: CI
2
3 on:
4 pull_request:
5 branches:
6 - main
7
8 env:
9 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
10
11 jobs:
12 test:
13 name: Tests & type-check
14 runs-on: ubuntu-latest
15
16 steps:
17 - uses: actions/checkout@v4
18
19 - name: Set up Python
20 uses: actions/setup-python@v5
21 with:
22 python-version: "3.14"
23
24 - name: Install dependencies
25 run: pip install -e ".[dev]"
26
27 - name: Run tests
28 run: pytest
29
30 - name: Run mypy
31 run: mypy muse/
32
33 - name: Run typing audit (ratchet = 0)
34 run: python tools/typing_audit.py --dirs muse/ tests/ --max-any 0