chore(develop): release 5.0.0 (#459) #959
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: Python SDK quality checks and unit tests | |
| on: | |
| push: | |
| paths: | |
| - "src/**" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| - "tests/**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.11] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.10.2" | |
| - name: Load cached venv | |
| id: cached-uv-dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: .venv | |
| key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/uv.lock') }} | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| if: steps.cached-uv-dependencies.outputs.cache-hit != 'true' | |
| - name: Launch quality checks | |
| run: | | |
| uv run ruff check . | |
| uv run mypy src | |
| - name: Test with pytest | |
| run: | | |
| uv run pytest tests |