Skip to content

feat(mempalace-server): read the real KG in get_graph_snapshot (#257) #401

feat(mempalace-server): read the real KG in get_graph_snapshot (#257)

feat(mempalace-server): read the real KG in get_graph_snapshot (#257) #401

Workflow file for this run

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