-
Notifications
You must be signed in to change notification settings - Fork 0
111 lines (86 loc) · 2.79 KB
/
Copy pathci.yml
File metadata and controls
111 lines (86 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
name: Monorepo CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
schedule:
- cron: "17 11 * * *"
jobs:
memroos:
name: Memroos tests and build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Node
uses: actions/setup-node@v6
with:
node-version: "24"
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Install linux native bindings
run: npm install @rolldown/binding-linux-x64-gnu @tailwindcss/oxide-linux-x64-gnu @unrs/resolver-binding-linux-x64-gnu --no-save
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Check route auth boundary
run: npm run check:route-auth-boundary
- name: Check Next trust boundary
run: npm run check:next-trust-boundary
- name: Check future spikes
run: npm run check:future-spikes
- name: Run Memroos tests
run: npm test -- --run
- name: Build Memroos
run: npm run build
- name: Docker compose smoke
run: ./scripts/docker-compose-smoke.sh --config-only
services:
name: Python service smoke tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install test dependencies
run: |
python -m pip install --upgrade pip pytest
python -m pip install -r services/orchestration/requirements.txt
- name: Run Knowledge MCP tests
env:
PYTHONPATH: services/knowledge-mcp
run: python -m pytest services/knowledge-mcp/tests
- name: Run orchestration tests
env:
PYTHONPATH: services/orchestration
run: python -m pytest services/orchestration/tests
- name: Run voice server tests
run: python -m pytest services/voice-server/tests
- name: Compile Python service modules
run: python -m py_compile services/memory/*.py services/knowledge-mcp/knowledge_system/*.py
- name: Check shell scripts
run: bash -n start.sh services/memory/*.sh
recall-canary:
name: Memory recall canary
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Node
uses: actions/setup-node@v6
with:
node-version: "24"
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Run recall canary gate
run: npm run check:recall-canary