Skip to content

Bump to 0.1.3 and lower minimum Python to 3.10 #11

Bump to 0.1.3 and lower minimum Python to 3.10

Bump to 0.1.3 and lower minimum Python to 3.10 #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-test:
name: Lint and test (py${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Create venv and install
run: |
uv venv
uv pip install -e ".[dev,test]"
- name: Ruff check
run: uv run ruff check .
- name: Ruff format check
run: uv run ruff format --check .
- name: Build extensions
run: uv run python setup.py build_ext --inplace
- name: Pytest
run: uv run pytest -q