Skip to content

feat: add polyglot agent framework adapters #2

feat: add polyglot agent framework adapters

feat: add polyglot agent framework adapters #2

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
python:
runs-on: ubuntu-latest
services:
redis:
image: redis:7-alpine
ports: ["6379:6379"]
postgres:
image: postgres:16-alpine
env:
POSTGRES_PASSWORD: ledger
POSTGRES_USER: ledger
POSTGRES_DB: ledger
ports: ["5432:5432"]
options: >-
--health-cmd "pg_isready -U ledger"
--health-interval 5s
--health-timeout 5s
--health-retries 10
mysql:
image: mysql:8
env:
MYSQL_ROOT_PASSWORD: ledger
MYSQL_DATABASE: ledger
MYSQL_USER: ledger
MYSQL_PASSWORD: ledger
ports: ["3306:3306"]
options: >-
--health-cmd "mysqladmin ping -h localhost -pledger"
--health-interval 5s
--health-timeout 5s
--health-retries 20
env:
AGENT_LEDGER_REDIS_URL: redis://localhost:6379/0
AGENT_LEDGER_POSTGRES_URL: postgresql+asyncpg://ledger:ledger@localhost:5432/ledger
AGENT_LEDGER_MYSQL_URL: mysql+asyncmy://ledger:ledger@localhost:3306/ledger
defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
python-version: "3.11"
enable-cache: true
cache-dependency-glob: python/uv.lock
- run: uv sync --all-extras
- run: make lint
- run: make test
typescript:
runs-on: ubuntu-latest
defaults:
run:
working-directory: typescript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: npm
cache-dependency-path: typescript/package-lock.json
- run: npm ci
- run: make lint
- run: make test
go:
runs-on: ubuntu-latest
defaults:
run:
working-directory: go
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
cache-dependency-path: go/go.sum
- run: make lint
- run: make test