|
19 | 19 | - run: cd packages/agent-runtime && npm run typecheck |
20 | 20 | - run: cd packages/agent-runtime && npm test |
21 | 21 |
|
| 22 | + harness-runtime: |
| 23 | + name: Harness runtime (packages/harness-runtime) |
| 24 | + runs-on: ubuntu-latest |
| 25 | + steps: |
| 26 | + - uses: actions/checkout@v5 |
| 27 | + - uses: actions/setup-node@v5 |
| 28 | + with: |
| 29 | + node-version: 20 |
| 30 | + - name: Build the agent runtime — the adapter SDK's file dep needs its dist |
| 31 | + run: cd packages/agent-runtime && npm install && npm run build |
| 32 | + - run: cd packages/harness-runtime && npm install |
| 33 | + - run: cd packages/harness-runtime && npm run typecheck |
| 34 | + - run: cd packages/harness-runtime && npm test |
| 35 | + |
| 36 | + payment-runtime: |
| 37 | + name: Payment runtime (packages/payment-runtime) |
| 38 | + runs-on: ubuntu-latest |
| 39 | + steps: |
| 40 | + - uses: actions/checkout@v5 |
| 41 | + - uses: actions/setup-node@v5 |
| 42 | + with: |
| 43 | + node-version: 20 |
| 44 | + - name: Build the agent runtime — the rails reuse Solana Pay + the devnet guard from its dist |
| 45 | + run: cd packages/agent-runtime && npm install && npm run build |
| 46 | + - run: cd packages/payment-runtime && npm install |
| 47 | + - run: cd packages/payment-runtime && npm run typecheck |
| 48 | + - run: cd packages/payment-runtime && npm test |
| 49 | + |
22 | 50 | txodds: |
23 | 51 | name: TxODDS World Cup Oracle (typecheck + tests) |
24 | 52 | runs-on: ubuntu-latest |
|
32 | 60 | - name: txodds (typecheck + tests) |
33 | 61 | run: cd examples/txodds && npm install && npm run typecheck && npm test |
34 | 62 |
|
| 63 | + marketplace: |
| 64 | + name: Marketplace (feed tests + visualizer unit + Playwright e2e) |
| 65 | + runs-on: ubuntu-latest |
| 66 | + steps: |
| 67 | + - uses: actions/checkout@v5 |
| 68 | + - uses: actions/setup-node@v5 |
| 69 | + with: |
| 70 | + node-version: 20 |
| 71 | + - name: Build the runtime (the feed folds rounds with its parsers) |
| 72 | + run: cd packages/agent-runtime && npm install && npm run build |
| 73 | + - name: Round launchers (typecheck) |
| 74 | + run: cd examples/marketplace && npm install && npm run typecheck |
| 75 | + - name: Feed server (typecheck + foldRounds/persist tests against a recorded transcript) |
| 76 | + run: cd examples/marketplace/feed && npm install && npm run typecheck && npm test |
| 77 | + - name: Visualizer (typecheck + component tests) |
| 78 | + run: cd examples/marketplace/web && npm install && npm run typecheck && npm test |
| 79 | + - name: Install Playwright browser |
| 80 | + run: cd examples/marketplace/web && npx playwright install --with-deps chromium |
| 81 | + # The e2e is the marketplace smoke test: Playwright boots the REAL feed server on a recorded |
| 82 | + # CoralOS transcript and drives the real React app — no devnet, no Docker, no LLM keys. |
| 83 | + - name: Smoke — recorded coral state → feed → UI (Playwright) |
| 84 | + run: cd examples/marketplace/web && npm run e2e |
| 85 | + |
| 86 | + agent-economy: |
| 87 | + name: Agent economy (typechecks + web build smoke) |
| 88 | + runs-on: ubuntu-latest |
| 89 | + steps: |
| 90 | + - uses: actions/checkout@v5 |
| 91 | + - uses: actions/setup-node@v5 |
| 92 | + with: |
| 93 | + node-version: 20 |
| 94 | + - name: Autonomous flow (typecheck) |
| 95 | + run: cd examples/agent-economy/autonomous && npm install && npm run typecheck |
| 96 | + - name: Quickstart 402 flow (typecheck) |
| 97 | + run: cd examples/agent-economy/quickstart && npm install && npm run typecheck |
| 98 | + - name: Bridge (typecheck) |
| 99 | + run: cd examples/agent-economy/bridge && npm install && npm run typecheck |
| 100 | + # The web build is this example's smoke test: `npm run build` = tsc --noEmit + a full vite |
| 101 | + # production build of the checkout/autonomous/swarm UI. (bridge/smoke.ts needs a live |
| 102 | + # coral-server + a funded devnet wallet, so it stays a local/manual check.) |
| 103 | + - name: Smoke — dashboard production build |
| 104 | + run: cd examples/agent-economy/web && npm install && npm run build |
| 105 | + |
| 106 | + coral-agents: |
| 107 | + name: Coral agents (buyer / seller / verifier / broker) |
| 108 | + runs-on: ubuntu-latest |
| 109 | + steps: |
| 110 | + - uses: actions/checkout@v5 |
| 111 | + - uses: actions/setup-node@v5 |
| 112 | + with: |
| 113 | + node-version: 20 |
| 114 | + - name: Build the runtimes (agents need local package dists) |
| 115 | + run: | |
| 116 | + cd packages/agent-runtime && npm install && npm run build |
| 117 | + cd ../harness-runtime && npm install && npm run build |
| 118 | + cd ../payment-runtime && npm install && npm run build |
| 119 | + - name: Buyer agent (typecheck + tests — policy, guard, reputation, want feed) |
| 120 | + run: cd coral-agents/buyer-agent && npm install && npm run typecheck && npm test |
| 121 | + - name: Seller agent (typecheck + tests — payment, replay, service) |
| 122 | + run: cd coral-agents/seller-agent && npm install && npm run typecheck && npm test |
| 123 | + - name: Verifier agent (typecheck + tests) |
| 124 | + run: cd coral-agents/verifier-agent && npm install && npm run typecheck && npm test |
| 125 | + - name: Broker (typecheck + tests) |
| 126 | + run: cd coral-agents/broker && npm install && npm run typecheck && npm test |
| 127 | + - name: Echo agent (typecheck) |
| 128 | + run: cd coral-agents/echo-agent && npm install && npm run typecheck |
| 129 | + |
| 130 | + agent-desk: |
| 131 | + name: Agent desk (UI syntax + config smoke) |
| 132 | + runs-on: ubuntu-latest |
| 133 | + steps: |
| 134 | + - uses: actions/checkout@v5 |
| 135 | + - uses: actions/setup-node@v5 |
| 136 | + with: |
| 137 | + node-version: 20 |
| 138 | + # The desk UI is no-build static JS; the Tauri shell needs the full Rust + webkit toolchain, |
| 139 | + # so CI checks what's cheap and deterministic: the module parses and the configs are valid. |
| 140 | + - name: UI parses + Tauri configs are valid JSON |
| 141 | + run: | |
| 142 | + cd examples/txodds-agent-desk |
| 143 | + node --check ui/app.js |
| 144 | + node -e "JSON.parse(require('fs').readFileSync('src-tauri/tauri.conf.json')); JSON.parse(require('fs').readFileSync('src-tauri/capabilities/default.json'))" |
| 145 | +
|
35 | 146 | escrow: |
36 | 147 | name: Escrow + arbiter contracts (Rust compile check) |
37 | 148 | runs-on: ubuntu-latest |
|
0 commit comments