Sanitize dogfood docs for public release #14
Workflow file for this run
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
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" | |
| - name: Compile | |
| run: python -m compileall -q src tests mcp/src mcp/tests | |
| - name: Test | |
| run: python -m pytest -q | |
| - name: Self-audit gate | |
| run: python -m pyfallow analyze --root . --fail-on warning --min-confidence medium | |
| - name: CLI smoke | |
| run: | | |
| python -m pyfallow --format json --root . --output /tmp/pyfallow-report.json | |
| python -m pyfallow analyze --format text --root . | |
| python -m pyfallow analyze --format sarif --root . --output /tmp/pyfallow.sarif | |
| python -m pyfallow agent-context --format markdown --root . --output /tmp/pyfallow-agent-context.md | |
| python -m pyfallow baseline create --root . --output /tmp/pyfallow-baseline.json | |
| python -m pyfallow baseline compare --root . --baseline /tmp/pyfallow-baseline.json | |
| - name: Install MCP package | |
| run: python -m pip install -e ./mcp | |
| - name: MCP tests | |
| run: PYTHONPATH="src:mcp/src" python -m pytest -q mcp/tests | |
| - name: MCP self-audit gate | |
| run: PYTHONPATH="src:mcp/src" python -m pyfallow analyze --root mcp --fail-on warning --min-confidence medium | |
| - name: MCP smoke | |
| run: python -m pyfallow_mcp --help | |
| - name: Build | |
| run: python -m build | |
| - name: Check package | |
| run: python -m twine check dist/* | |
| - name: Build MCP package | |
| run: | | |
| cd mcp | |
| python -m build | |
| python -m twine check dist/* |