Skip to content

fix: gh release action permissions (#172) #544

fix: gh release action permissions (#172)

fix: gh release action permissions (#172) #544

Workflow file for this run

name: Python test
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras
- name: Run ruff format
run: uv run ruff format --check .
- name: Run ruff check
run: uv run ruff check .
- name: Run tests
run: uv run pytest --cov