Release/v1.14.0 #26
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: PR Check | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| code-quality: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Install dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| - name: Code quality with ruff | |
| run: | | |
| uv run ruff check src/ | |
| - name: Code formatting with ruff | |
| run: | | |
| uv run ruff format src/ --check | |
| - name: Type check with mypy | |
| run: | | |
| uv run mypy src/ --show-error-codes | |
| - name: Run tests | |
| run: | | |
| uv run pytest tests/ -v |