Skip to content

Fix publish pipeline_ (#26) #111

Fix publish pipeline_ (#26)

Fix publish pipeline_ (#26) #111

Workflow file for this run

---
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
tests:
name: CI for ${{ matrix.python-version }}
runs-on: ubuntu-latest
env:
USING_COVERAGE: "3.8,3.12"
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup uv
uses: astral-sh/setup-uv@v2
with:
enable-cache: true
uv-version: "0.4.9"
- name: Run tests for ${{ matrix.python-version }}
run: |
uv venv .venv
uv pip install ".[dev]"
uv run pre-commit run --all
uv run pytest