The step ran pip install --group dev, which needs a dependency-groups table in pyproject.toml. This project declares the development tools as the dev extra, so the step failed with "[dependency-groups] table was missing". It now installs with pip install -e ".[dev]", the command the README documents.
27 lines
590 B
YAML
27 lines
590 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
- name: Install
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -e ".[dev]"
|
|
- name: Tests
|
|
run: python -m pytest
|
|
- name: Lint
|
|
run: python -m ruff check src tests
|
|
- name: Format check
|
|
run: python -m ruff format --check src tests
|
|
- name: Types
|
|
run: python -m mypy src tests
|