Skip to content

Release v0.3.3

Release v0.3.3 #24

Workflow file for this run

name: Tests
# Runs the pytest suite on every push to master and on every PR so
# regressions are caught before they ship to PyPI via publish.yml.
# Matrix covers the Python versions declared in pyproject.toml
# (requires-python = ">=3.10") so a 3.10-only syntax regression fails
# here instead of at `pip install` time on someone else's machine.
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: pytest (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package + dev deps
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run pytest
run: python -m pytest -q --tb=short
env:
# Headless terminal so Textual's pilot doesn't try to detect a TTY.
TERM: dumb