Skip to content

Add link to examples, fix ruff errors #15

Add link to examples, fix ruff errors

Add link to examples, fix ruff errors #15

Workflow file for this run

name: Run python tests
on:
push:
branches: [ "main" ]
paths:
- 'pyproject.toml'
- 'uv.lock'
- '**.py'
- '.github/workflows/test.yml'
pull_request:
branches: [ "main" ]
paths:
- 'pyproject.toml'
- 'uv.lock'
- '**.py'
- '.github/workflows/test.yml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/[email protected]
with:
version: "latest"
- name: Install dependencies
run: |
uv venv --python ${{ matrix.python-version }}
uv pip install -e .
- name: Lint with ruff
run: |
uv run ruff check . --statistics
# - name: Test with pytest
# run: |
# pytest