Add guided simbroker setup #53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Public Node test surface. GitHub-hosted Ubuntu does not see the operator | |
| # home path and has no Simulator, so it only runs broker-core, skill | |
| # ownership, and harness-adoption. Client tests run on GitHub-hosted macOS. | |
| # Home-path public-surface scanning belongs to `npm test` on the operator | |
| # machine, not this workflow. Do not raise job budgets to hide hung waits. | |
| name: Node tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: node-ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| node-ubuntu: | |
| name: broker-core harness-adoption | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Managed skill ownership | |
| run: bash scripts/check_managed_skill_ownership.sh | |
| - name: broker-core tests | |
| run: npm run test:broker-core | |
| - name: harness-adoption tests | |
| run: npm run test:harness-adoption | |
| node-macos: | |
| name: client | |
| runs-on: macos-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: client tests | |
| # Do not add --test-force-exit. On Node 20 it exits the process while | |
| # later describe() tests are still queued (cancelledByParent). | |
| run: node --test --test-concurrency=1 --test-timeout=120000 client/test/*.test.mjs |