ci(layer-b): ruleset payload + RC3 mirror guard #6
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
| # tests.yml — tests gate. Required check name: "tests". | |
| # Each skill ships a deterministic floor (exit 0/1, pure stdlib) — METHOD §7. | |
| # Floors are auto-discovered, not hard-listed: discover_floors.py runs every | |
| # Python file carrying the `# FLOOR` marker (ROADMAP G5). Adding a skill means | |
| # dropping a marked floor — this workflow is never edited again. pytest-style | |
| # floors under tests/ are found by `pytest tests/`. | |
| name: tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| name: tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| # Exact-version pin (determinism + CI<->local parity) via the test group. | |
| - run: python -m pip install --upgrade pip && pip install --group test | |
| # Gate commands single-sourced in scripts/gates/tests.sh (S31). | |
| - run: bash scripts/gates/tests.sh |