Skip to content

Migrate to uv

Migrate to uv #43

Workflow file for this run

name: ci
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
run: pip install uv
- name: Install dependencies
run: uv install
- name: Lint with ruff
run: uv run ruff check .
- name: Format with ruff
run: uv run ruff format .
- name: Run tests
run: uv run pytest .