feat: add dockerfile and CI/CD workflows #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| version: "0.11.6" | |
| enable-cache: true # caches deps — torch/transformers are heavy | |
| - name: Set up Python | |
| run: uv python install 3.14 | |
| - name: Sync dependencies | |
| run: uv sync --frozen | |
| - name: Type check | |
| run: uv run ty check | |
| - name: Test (deterministic only) | |
| run: uv run pytest -m "not live" |