Skip to content

Replace pdm with uv #143

Replace pdm with uv

Replace pdm with uv #143

Workflow file for this run

name: Run tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.20"
enable-cache: true
- name: Setup python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Check requirements
run: make check-deps
- name: Install requirements
run: make install
- name: Run linters
run: make lint
- name: Run tests
run: make test
- name: Cleanup
if: ${{ always() }}
run: |
make clean
docker system prune --force --volumes
uv cache prune --ci