feat(adapters): SME adapter for engram (TypeScript MCP server, stdio) #398
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: test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install package + dev deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Lint with ruff | |
| run: ruff check . | |
| - name: Run pytest | |
| run: pytest tests/ -q | |
| - name: Install codetopo from git | |
| # codetopo (agentic-coding-topology) isn't on PyPI yet — install | |
| # from the GitHub repo. Separate step so a transient install | |
| # failure doesn't mask test results. | |
| continue-on-error: true | |
| run: pip install git+https://github.com/M0nkeyFl0wer/agentic-coding-topology.git | |
| - name: Structural code-quality check (codetopo) | |
| # Informational only for now — surfaces structural_duplication and | |
| # function_bloat findings in the CI logs so PR reviewers see them. | |
| # Will be flipped to required (drop continue-on-error, add --fail-on error) | |
| # once existing duplications are resolved via the adapter testkit (#8). | |
| continue-on-error: true | |
| run: | | |
| if command -v codetopo > /dev/null; then | |
| codetopo check sme/ tests/ --recursive --output text | |
| else | |
| echo "codetopo not installed (install step failed); skipping structural check" | |
| fi |