Skip to content

Replace poetry with uv #31

Replace poetry with uv

Replace poetry with uv #31

Workflow file for this run

name: Test And Lint
on:
push:
branches: [ '*' ]
pull_request:
branches: [ 'master' ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.6"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Lint with ruff
run: uv run ruff check
- name: Test with pytest
run: uv run pytest tests