Merge pull request #110 from bbartling/docs/openclaw-bench-operator-n… #255
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Backend unit tests only. Frontend lint/typecheck and Caddy validate: run locally via scripts/bootstrap.sh --test. | |
| name: CI | |
| on: | |
| pull_request: | |
| branches: [ "master" ] | |
| push: | |
| branches: [ "master" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.14" | |
| cache: "pip" | |
| - name: Install backend dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| # pdf/open-fdd-docs.txt is gitignored; generate it so /model-context/docs matches release builds. | |
| - name: Build combined docs text (LLM context) | |
| run: python scripts/build_docs_pdf.py --no-pdf | |
| - name: Backend (pytest) | |
| run: pytest open_fdd/tests/ -v --tb=short | |
| env: | |
| OFDD_API_KEY: "" | |
| OFDD_CADDY_INTERNAL_SECRET: "" | |
| - name: Build engine package (dry run) | |
| working-directory: packages/openfdd-engine | |
| run: | | |
| python -m pip install build==1.2.2 twine==6.1.0 | |
| python -m build | |
| twine check dist/* |