Skip to content

fix: restore working glama badge while slug syncs #9

fix: restore working glama badge while slug syncs

fix: restore working glama badge while slug syncs #9

Workflow file for this run

name: Main CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run unit tests
run: |
python -m unittest discover -s tests -v
- name: Run benchmark regression
run: |
python benchmarks/run_benchmark.py --json > /tmp/benchmark.json
python -c "import json; payload=json.load(open('/tmp/benchmark.json', 'r', encoding='utf-8')); assert payload['failed'] == 0; assert payload['total'] >= 3"
- name: Build package
run: |
python -m build
twine check dist/*
- name: Smoke installed wheel
run: |
python -m venv /tmp/cvs-wheel
/tmp/cvs-wheel/bin/pip install --upgrade pip
/tmp/cvs-wheel/bin/pip install dist/*.whl
/tmp/cvs-wheel/bin/search-web --help
/tmp/cvs-wheel/bin/browse-page --help
/tmp/cvs-wheel/bin/verify-claim --help
/tmp/cvs-wheel/bin/evidence-report --help
test -x /tmp/cvs-wheel/bin/cross-validated-search-mcp
test -x /tmp/cvs-wheel/bin/free-web-search-mcp