docs(orchestrator): add Handlers design & usage guide; link from README #1
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: orchestrator | |
| on: | |
| push: | |
| paths: | |
| - 'orchestrator/**' | |
| - '.github/workflows/orchestrator.yml' | |
| pull_request: | |
| paths: | |
| - 'orchestrator/**' | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| - name: Install test deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pytest pytest-cov ruff | |
| - name: Run orchestrator tests + coverage | |
| env: | |
| PYTHONPATH: . | |
| run: | | |
| pytest -q orchestrator/tests \ | |
| --cov=orchestrator --cov-report=xml --cov-report=term-missing | |
| - name: Upload coverage.xml | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-orchestrator | |
| path: coverage.xml | |
| task-registry: | |
| name: mcp-task-registry (monorepo) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout monorepo ACN-org/acn-ai | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ACN-org/acn-ai | |
| ref: main | |
| fetch-depth: 1 | |
| # If the repo is private, create a PAT with repo:read and set as ACN_AI_PAT | |
| # token: ${{ secrets.ACN_AI_PAT }} | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| - name: Install test deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pytest pytest-cov | |
| pip install -e packages/mcp-task-registry | |
| - name: Run mcp-task-registry tests | |
| env: | |
| PYTHONPATH: packages/mcp-task-registry/src | |
| run: | | |
| pytest -q packages/mcp-task-registry/tests \ | |
| --cov=packages/mcp-task-registry/src/mcp_task_registry \ | |
| --cov-report=xml --cov-report=term-missing | |
| - name: Upload coverage.xml | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-mcp-task-registry | |
| path: coverage.xml |