Skip to content

Merge pull request #4 from RMANOV/agent/debate-mechanism-recovery #118

Merge pull request #4 from RMANOV/agent/debate-mechanism-recovery

Merge pull request #4 from RMANOV/agent/debate-mechanism-recovery #118

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
PIP_DISABLE_PIP_VERSION_CHECK: "1"
QT_QPA_PLATFORM: offscreen
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install Linux Qt runtime libs
run: |
sudo apt-get update
sudo apt-get install -y libegl1 libgl1 libopengl0 libxkbcommon-x11-0 libxcb-cursor0
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev,gui]" ruff
- name: Editable install + manifest-completeness gate
# Per v3.9.4 (msg:f21d82cc): exercise the same editable
# MAPPING that production MCP entrypoints use, then run the
# manifest-completeness probe BEFORE the full suite so
# missing-module bugs surface as an explicit early-stage
# failure rather than getting diluted across the 760-test run.
run: |
pip install -e .
pytest tests/test_pyproject_manifest_completeness.py -v
- name: Ruff
run: ruff check .
- name: Pytest
run: pytest -q
registry-smoke:
# Independent guard for MCP registry builders (Glama): a fresh
# core-only install (no extras) must still speak MCP over stdio.
# Mirrors the Dockerfile CMD path; runs in well under 3 minutes and
# does not touch the lint-and-test job.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Core-only install (no extras)
run: |
python -m pip install --upgrade pip
pip install .
- name: MCP stdio smoke (initialize + tools/list)
run: python scripts/registry_smoke.py