Skip to content

Merge pull request #190 from gmrnlg1971/fix/186-and-141 #114

Merge pull request #190 from gmrnlg1971/fix/186-and-141

Merge pull request #190 from gmrnlg1971/fix/186-and-141 #114

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
workflow_dispatch:
jobs:
test-python:
name: Test Python SDK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Dependencies
run: |
cd packages/openmemory-py
pip install -e .[dev]
pip install pytest
pip install pytest-asyncio
pip install python-dotenv
pip install pyyaml
- name: Run Omnibus Test (Deep Verify)
run: |
cd packages/openmemory-py
python -m pytest tests/test_omnibus.py -v
test-node:
name: Test Node.js SDK
runs-on: ubuntu-latest
env:
OM_DB_URL: "sqlite:///:memory:"
OM_TIER: "fast"
OM_VEC_DIM: "1536"
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Dependencies
run: |
cd packages/openmemory-js
npm ci
- name: Run Verification Test
# `tests/test_omnibus.ts` was ported to vitest as
# `tests/omnibus.test.ts` in cbc8c84; this step has been failing
# ever since. Run the whole vitest suite so omnibus + the rest of
# the per-tenant / temporal / multilingual specs are exercised.
run: |
cd packages/openmemory-js
npm test