feat(runtime): add gated multi-agent parallel execution #2
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 Makefile | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| paths: | |
| - "Makefile" | |
| - "scripts/run_with_timeout.py" | |
| - "scripts/sync_*.py" | |
| - "plugins/codex-rig/scripts/sync_*.py" | |
| - "tests/test_*sync*.py" | |
| - ".codex/config.toml" | |
| - ".codex/global-session-policy.md" | |
| jobs: | |
| makefile-behavior: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-latest", "macos-latest"] | |
| timeout-minutes: 10 | |
| env: | |
| UV_PYTHON: "3.12" | |
| steps: | |
| - name: 📥 Checkout | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | |
| - name: 📦 Install uv and Python | |
| uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5 | |
| with: | |
| python-version: ${{ env.UV_PYTHON }} | |
| - name: 🔍 Confirm GNU make and jq are on PATH | |
| run: | | |
| make --version | head -1 | |
| jq --version | |
| # Stubs claude/codex-adjacent scripts and scratch registries — never the real | |
| # $HOME, marketplace, or plugin state. See tests/test_makefile_sync.py's module | |
| # docstring for the isolation contract. | |
| - name: 🧪 Run Makefile sync behavioral tests | |
| run: uv run --only-group test pytest tests/test_makefile_sync.py -v -W error::DeprecationWarning |