Skip to content

UV packaging (#33)

UV packaging (#33) #68

Workflow file for this run

name: Test
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests with pytest
run: uv run pytest
- name: Downgrade to pytest 7
run: uv pip install "pytest<8"
- name: Run tests with pytest 7
run: uv run pytest