Skip to content

switch to uv

switch to uv #2

Workflow file for this run

name: pr
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
version: "0.5.14"
python-version: ${{ matrix.python-version }}
- run: | # abort if the lockfile changes
uv sync --all-extras --dev
[[ -n $(git diff --stat requirements.lock) ]] && exit 1
- run: uv run poe ci:fmt # check formatting is correct
- run: uv run poe ci:lint # and linting
- run: uv run poe check # typecheck too
- run: uv run poe test # then run your tests!