Skip to content

Migrate poetry -> uv #855

Migrate poetry -> uv

Migrate poetry -> uv #855

Workflow file for this run

name: Python Test
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv and set the python version with caching
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install the project
run: uv sync --all-extras --dev
- name: Test with pytest
run: uv run py.test
- name: Check formatting with black
run: |
uv run black thetagang --check --diff --color