Dockerized + API Wrapper + Internal Pydantic Models #115
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: | |
| branches: [main] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| env: | |
| KESTREL_API_KEY: ${{ secrets.KESTREL_API_KEY }} | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.12'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
| - name: Install dependencies | |
| run: | | |
| uv sync --all-groups | |
| - name: Run ruff check | |
| run: | | |
| uv run ruff check | |
| - name: Run black check | |
| run: | | |
| uv run black --check . | |
| - name: Run pyright | |
| run: | | |
| uv run pyright | |
| - name: Run tests | |
| run: | | |
| uv run pytest -v -m "not external" |