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