27 lines
558 B
YAML
27 lines
558 B
YAML
|
|
name: CI
|
||
|
|
|
||
|
|
on:
|
||
|
|
push:
|
||
|
|
branches: [main]
|
||
|
|
pull_request:
|
||
|
|
|
||
|
|
jobs:
|
||
|
|
test:
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
strategy:
|
||
|
|
fail-fast: false
|
||
|
|
matrix:
|
||
|
|
# requires-python = ">=3.10"; test the floor and a recent version.
|
||
|
|
python-version: ["3.10", "3.12"]
|
||
|
|
steps:
|
||
|
|
- uses: actions/checkout@v4
|
||
|
|
|
||
|
|
- uses: actions/setup-python@v5
|
||
|
|
with:
|
||
|
|
python-version: ${{ matrix.python-version }}
|
||
|
|
|
||
|
|
- name: Install package with dev extras
|
||
|
|
run: pip install -e ".[dev]"
|
||
|
|
|
||
|
|
- name: Run test suite
|
||
|
|
run: pytest -q
|