Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: CI

on:
push:
branches:
- main
- "dev/**"
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
unit-tests:
name: Unit tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.12"

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Install package and development tools
run: python -m pip install --upgrade pip ".[dev]"

- name: Run strict unit test suite
run: python -W error -m unittest discover -s tests

teammate-resilience:
name: Teammate resilience release gate
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip

- name: Install package and development tools
run: python -m pip install --upgrade pip ".[dev]"

- name: Run resilience evaluation matrix
run: python teammate-evals/runtime-resilience/evaluate.py

package:
name: Build wheel
needs:
- unit-tests
- teammate-resilience
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip

- name: Install build tooling
run: python -m pip install --upgrade pip build

- name: Build wheel
run: python -m build --wheel

- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: clawd-codex-wheel
path: dist/*.whl
if-no-files-found: error
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ CLAUDE.md
sessions/
.transcripts/
.port_sessions/
.clawd/team.json
.clawd/teams/
teammate-evals/solo-vs-team/runs/
teammate-evals/nl2repo-pilot/runs/
teammate-evals/nl2repo-pilot/latency-runs/
teammate-evals/nl2repo-pilot/reports/

# Claude Code personal settings
CLAUDE.local.md
Loading