Skip to content

pip -> uv

pip -> uv #3068

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: "pyproject.toml"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
# Install a specific version of uv.
version: "0.9.5"
- name: Install dependencies
run: |
uv sync --locked --all-groups
- name: Run tests
run: |
uv run pytest -n auto tests/