US09-05: Automate Documentation Acceptance (#111)
Some checks failed
Test / suites (push) Failing after 2m30s
Test / container (push) Failing after 5m38s
Test / documentation (push) Failing after 1m54s

This commit was merged in pull request #111.
This commit is contained in:
2026-08-24 00:22:59 +02:00
parent f1442527a2
commit 516f81c71e
20 changed files with 427 additions and 20 deletions

View File

@@ -101,3 +101,39 @@ jobs:
with:
name: container-gate-${{ gitea.sha }}
path: gate-evidence
# The manuals, checked against the application they describe (US09-05). Runs on
# every pull request as well as `main`: documentation drifts by the same commits
# that change behaviour, and telling the author while the change is still open is
# the only time the fix is cheap.
documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install the application and its test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e '.[test]'
python -m playwright install --with-deps chromium
- name: Documentation gate
# One command: every phase_i check, offline and in the browser, with the
# evidence retained. It accepts no skip — a check that did not run is a page
# nobody compared with the code.
env:
PHOTO_PIPELINE_DATA_DIR: ${{ gitea.workspace }}/docs-gate-data
run: python -m photo_pipeline docs-gate --output docs-evidence
- name: Keep the evidence
if: always()
uses: actions/upload-artifact@v3
with:
name: docs-gate-${{ gitea.sha }}
path: docs-evidence