Skip to content

perf: make dashboard project scan constant-cost #15

perf: make dashboard project scan constant-cost

perf: make dashboard project scan constant-cost #15

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
python: ["3.11", "3.13"]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- run: python -m pip install -e ".[semantic,dev]"
- run: coverage run --branch -m unittest discover -s tests -q
# All first-party modules hold the clean-run 73% baseline. The four
# hardened helpers hold 90. The facade family and its largest gaps have
# separate floors, so one module cannot hide another module's loss.
- run: coverage report --fail-under=73
- run: coverage report --include="archive_intent.py,archive_store.py,platform_lock.py,schema_migrations.py" --fail-under=90
- run: coverage report --include="session_search.py,ss_*.py" --fail-under=71
- run: coverage report --include="ss_adapters.py" --fail-under=59
- run: coverage report --include="ss_retrieval.py" --fail-under=55
- run: coverage report --include="ss_cli.py" --fail-under=71
- run: python tests/run_public_card_quality_eval.py
- run: python tests/run_public_retrieval_eval.py --mode hybrid
- run: python scripts/check_public_privacy.py
- run: ss demo
package:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- run: python -m pip install build
- run: python -m build
- run: python -m venv /tmp/session-search-install
- run: /tmp/session-search-install/bin/pip install dist/*.whl
- run: /tmp/session-search-install/bin/ss capabilities
- run: /tmp/session-search-install/bin/ss demo
- run: /tmp/session-search-install/bin/python ${{ github.workspace }}/tests/test_adapter_pipeline.py -q
working-directory: /tmp