Done #37
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: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install | |
| run: python -m pip install --upgrade pip && python -m pip install -e ".[dev]" | |
| - name: Lint | |
| run: ruff check . | |
| - name: Type check | |
| run: mypy api engine models db adapters infra cmd | |
| - name: Tests | |
| run: pytest |