docs(facts): F12 - coverage 73% in CI, pinned to run 28942984519 (#2) #14
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
| # CI for gate.cat: the public test count ("N tests green as of vX") must be | |
| # verifiable, not asserted. Full [dev] extra on purpose - the proxy tool-veto | |
| # tests (test_proxy_tool_veto.py) are security-critical and must RUN, not skip. | |
| name: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| run: python -m pip install -e ".[dev]" pytest-cov | |
| - name: Test | |
| # The gate disarms itself in CI (ephemeral env detection) by design; | |
| # GATECAT_VETO_EPHEMERAL=0 forces it ARMED so the veto tests test a | |
| # live gate, exactly as documented in the README. Coverage is printed | |
| # so the public number (FACTS.md) is CI-verifiable, not asserted. | |
| env: | |
| GATECAT_VETO_EPHEMERAL: "0" | |
| run: python -m pytest -q --cov=gatecat --cov-report=term |