Skip to content

Migrate from Poetry to uv #14

Migrate from Poetry to uv

Migrate from Poetry to uv #14

Workflow file for this run

name: CI
on:
push: # Will run on all branch pushes
pull_request: # Will run on all PRs
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
uv sync
- name: Run pre-commit hooks (formatters, linters)
run: |
uv run pre-commit run --all-files
# If ever there are tests to run, uncomment the following lines.
#
# - name: Run tests
# run: |
# uv run pytest --cov --cov-report=term-missing