-
Notifications
You must be signed in to change notification settings - Fork 37
67 lines (54 loc) · 1.63 KB
/
ci.yml
File metadata and controls
67 lines (54 loc) · 1.63 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install
- run: bun run build
- name: Run unit suite
run: bun run test:ci:unit
- name: Unit job summary
if: always()
run: |
{
echo "## Unit Job"
echo "- Status: \`${{ job.status }}\`"
echo "- Command: \`bun run test:ci:unit\`"
echo "- Scope: tools + unit + competitive smoke tests"
} >> "$GITHUB_STEP_SUMMARY"
integration:
runs-on: ubuntu-latest
env:
CURSOR_ACP_TOOL_LOOP_MODE: opencode
CURSOR_ACP_ENABLE_OPENCODE_TOOLS: "true"
CURSOR_ACP_FORWARD_TOOL_CALLS: "false"
CURSOR_ACP_EMIT_TOOL_UPDATES: "false"
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install
- run: bun run build
- name: Run integration suite
run: bun run test:ci:integration
- name: Integration job summary
if: always()
run: |
{
echo "## Integration Job"
echo "- Status: \`${{ job.status }}\`"
echo "- Command: \`bun run test:ci:integration\`"
echo "- Loop mode: \`${CURSOR_ACP_TOOL_LOOP_MODE}\`"
echo "- Forward tool calls: \`${CURSOR_ACP_FORWARD_TOOL_CALLS}\`"
echo "- Emit tool updates: \`${CURSOR_ACP_EMIT_TOOL_UPDATES}\`"
} >> "$GITHUB_STEP_SUMMARY"