Repository Public License Research preview
1# Objective quality gates that need no TeX installation: structure, metadata, sources, assets, secrets,2# quizzes, accessibility (contrast, alt text), generated files in sync. Fails on objective failures only;3# subjective visual review is tracked in sessions/SXX/qa/results.json and is never automated.4name: quality-gates5on:6 push:7 pull_request:8jobs:9 lint:10 runs-on: ubuntu-24.0411 steps:12 - uses: actions/checkout@v413 - uses: actions/setup-python@v514 with:15 python-version: "3.12"16 - run: pip install -r requirements-dev.txt17 - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends poppler-utils18 - name: Generated files are in sync with their sources19 run: |20 python tools/sync_course.py --check21 python tools/generate_catalog.py --check22 python tools/render_docs.py --check23 - run: python tools/validate_structure.py24 - run: python tools/validate_latex.py25 - run: python tools/validate_assets.py26 - run: python tools/validate_quizzes.py27 - run: python tools/validate_accessibility.py28 - run: python tools/validate_links.py29 - uses: actions/upload-artifact@v430 if: always()31 with:32 name: quality-reports33 path: reports/34