Skip to content

Configure linting (and lint!) (#28) #8

Configure linting (and lint!) (#28)

Configure linting (and lint!) (#28) #8

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
pull_request:
paths:
- 'src/**'
- 'tests/**'
workflow_dispatch:
jobs:
run-unit-tests:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
- run: uv sync --group tests
- run: pytest -v tests/unit