Release v0.3.0 #29
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: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: astral-sh/setup-uv@v7 | |
| - run: uv python install ${{ matrix.python-version }} | |
| - run: uv sync --all-extras --dev | |
| - run: uv build --wheel -q # generates _templates.py via build hook | |
| - run: uv run coverage run -m pytest -q && uv run coverage report --fail-under=90 | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: astral-sh/setup-uv@v7 | |
| - run: uv sync --all-extras --dev | |
| - run: uv build --wheel -q # generates _templates.py via build hook | |
| - run: uv run ruff check . | |
| - run: uv run ruff format --check . | |
| - run: uv run ty check . |