Skip to content

Update the release workflow #60

Update the release workflow

Update the release workflow #60

Workflow file for this run

# Run tests and style checks on each commit to an open pull request.
name: on-commit
on: [pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.12', '3.13', '3.14', '3.14t', 'pypy3.11']
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v6
with:
version: "0.9.7"
- name: Check types with mypy
run: uv run --python ${{ matrix.python-version }} mypy
- name: Test with pytest
run: uv run --python ${{ matrix.python-version }} pytest
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v6
- name: Lint
run: uvx ruff check
- name: Check formatting
run: uvx ruff format --check