Skip to content

docs(memory): embed SVG diagrams in HEXACO + cognitive memory; reorde… #877

docs(memory): embed SVG diagrams in HEXACO + cognitive memory; reorde…

docs(memory): embed SVG diagrams in HEXACO + cognitive memory; reorde… #877

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
test:
name: Test & Lint
runs-on: ubuntu-latest
# Postgres service container for the Brain.openPostgres integration tests
# (gated on AGENTOS_TEST_POSTGRES_URL — tests skip when env var is absent).
services:
postgres:
image: pgvector/pgvector:pg16
env:
POSTGRES_PASSWORD: ci_test_password
ports: ['5432:5432']
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
AGENTOS_TEST_POSTGRES_URL: postgresql://postgres:ci_test_password@localhost:5432/postgres
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install PNPM
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Lint
run: pnpm run lint
- name: Type check
run: pnpm run typecheck
- name: Test with coverage
run: pnpm run test -- --coverage
continue-on-error: true
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}