Skip to content

Migrate to uv & modernize project package metadata #35

Migrate to uv & modernize project package metadata

Migrate to uv & modernize project package metadata #35

Workflow file for this run

name: build
permissions:
contents: read
on:
push:
branches: [ main ]
paths: [ "**/*.py", "pyproject.toml", ".github/workflows/**"]
pull_request:
branches: [ main ]
paths: [ "**/*.py", "pyproject.toml", ".github/workflows/**"]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
fail-fast: false
steps:
- name: Checkout repository
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
run: |
python -m pip install --upgrade pip
pip install uv
- name: Install dependencies
run: |
uv sync --all-extras --all-groups
- name: Run tests
run: |
uv run pytest tests --maxfail=1 --disable-warnings --tb=short -v