Skip to content

feat: search hardening phase 1 — indexes, tag table, FTS5, compact importance #211

feat: search hardening phase 1 — indexes, tag table, FTS5, compact importance

feat: search hardening phase 1 — indexes, tag table, FTS5, compact importance #211

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
restore-keys: ${{ runner.os }}-pip-${{ matrix.python-version }}-
- name: Install
run: pip install -e ".[dev]"
- name: Unit tests
run: pytest tests/ -v --tb=short -m "not integration" -x
- name: MCP tool registration
run: pytest tests/test_think_recall_integration.py::TestMCPToolCount -v --tb=short
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-lint-${{ hashFiles('pyproject.toml') }}
- run: pip install ruff
- run: ruff check src/ tests/
- run: ruff format --check src/ tests/