Bump Version to 0.2.2 #32
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: pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: CI Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10"] # add later: "3.11", "3.12", "3.13" | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv and set Python | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Sync dependencies | |
| run: uv sync --locked --all-extras --all-groups | |
| - name: Build Docs | |
| run: uv run sphinx-build -b html docs/source docs/build | |
| - name: Check README rendering | |
| run: | | |
| uv build | |
| uv run twine check dist/* | |
| - name: Run pre-commit | |
| run: uv run pre-commit run --all-files | |
| - name: Run tests | |
| run: uv run pytest tests |