Skip to content
Merged
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
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

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

jobs:
test:
name: tests (py${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}

- name: Sync dependencies
run: uv sync --extra gateway --extra mcp --extra tui --extra test

- name: Run deterministic test suite
# Integration/e2e suites need real provider credentials; they are excluded
# from CI. Everything else runs with scripted transports and no API calls.
run: uv run pytest -q --ignore=tests/integration --ignore=tests/e2e
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

**English** | [中文](README.zh.md)

[![CI](https://github.com/Niraya666/OkComputer/actions/workflows/ci.yml/badge.svg)](https://github.com/Niraya666/OkComputer/actions/workflows/ci.yml)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)

OkComputer is a small, model-agnostic agent harness in Python. A model uses it to work over files, tools, context, and sub-tasks across long-running tasks.
Expand Down
1 change: 1 addition & 0 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[English](README.md) | **中文**

[![CI](https://github.com/Niraya666/OkComputer/actions/workflows/ci.yml/badge.svg)](https://github.com/Niraya666/OkComputer/actions/workflows/ci.yml)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)

OkComputer 是一个用 Python 写的、体量很小、模型无关的 agent harness。模型通过它围绕文件、工具、上下文和子任务完成长时间运行的任务。
Expand Down
Loading