Skip to content

Convert workflows to use UV instead of pip per #166 #297

Convert workflows to use UV instead of pip per #166

Convert workflows to use UV instead of pip per #166 #297

Workflow file for this run

---
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
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 dependencies
run: |
python -m pip install uv
uv pip install -p ${{ matrix.python-version }} '.[dev]'
- name: Lint with ruff and black
run: |
# stop the build if there are linting errors
make lint
- name: Test with pytest
run: |-
pytest