Skip to content

Use uv to manage environment in CI #23

Use uv to manage environment in CI

Use uv to manage environment in CI #23

Workflow file for this run

name: Run test
on:
push
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', 3.11, 3.12, 3.13]
env:
UV_PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@master
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest tests