From c2d67be76a3309c57873a01ce55a1f073c11598f Mon Sep 17 00:00:00 2001 From: Phillip Tarrant Date: Sat, 11 Jul 2026 18:51:11 -0500 Subject: [PATCH] ci: content-build tests + --check gate Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01HuHRPE7VfppUJEaoGBEUqZ --- .github/workflows/content-build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/content-build.yml diff --git a/.github/workflows/content-build.yml b/.github/workflows/content-build.yml new file mode 100644 index 0000000..50d7b90 --- /dev/null +++ b/.github/workflows/content-build.yml @@ -0,0 +1,19 @@ +name: content-build +on: + push: + paths: ["content/**", "tools/content_build/**", ".github/workflows/content-build.yml"] + pull_request: + paths: ["content/**", "tools/content_build/**"] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install -r tools/requirements-dev.txt + - name: Unit tests + run: PYTHONPATH=tools python -m pytest tools/content_build/tests -q + - name: Content freshness + validity + run: PYTHONPATH=tools python -m content_build --check