Skip to content

ci: Add PyPI release workflow #9

ci: Add PyPI release workflow

ci: Add PyPI release workflow #9

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Lint:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: |
pip install uv
uv pip install --system ruff
ruff check
Test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: |
pip install uv
uv pip install --system .
uv pip install --system pytest inline-snapshot
- name: Run tests
run: pytest ./tests --color=yes