Andrew Ridgway bec1eaac87
Some checks failed
Test / test (push) Has been cancelled
first pass at the newspaper builder
2026-09-14 11:57:22 +10:00

27 lines
691 B
YAML

name: Test
# Test-only pipeline — nothing is deployed. The deliverable is a local,
# self-contained newspaper.html the couple generates and prints themselves.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install project
run: cd newspaper && uv sync --extra dev
- name: Run tests
run: cd newspaper && uv run pytest tests/ -q