diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..61f91f2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + offline-suite: + name: pytest + ruff + mypy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install (editable + dev extras) + run: | + python -m pip install --upgrade pip + pip install -e ".[dev]" + + - name: Tests (offline, deterministic) + # Mirrors FAST=1 in scripts/reproduce_all.sh: the slow SIGKILL + # recovery suite stays a local/pre-release gate. + run: pytest -q -m "not slow" + + - name: Ruff + run: ruff check + + - name: mypy (strict) + run: mypy src/agentcorp diff --git a/README.md b/README.md index 709d0f9..3cf8f40 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # AgentCorp — Recursive Delivery OS +[![CI](https://github.com/CodeAlex52/AgentCorp/actions/workflows/ci.yml/badge.svg)](https://github.com/CodeAlex52/AgentCorp/actions/workflows/ci.yml) + > `(git repo, natural-language PRD)` → **reviewed, tested delivery** + auditable event ledger + reproducible benchmark report. AgentCorp is a local-first, event-sourced, crash-recoverable, budget-bounded multi-agent