mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 17:47:40 +00:00
39 lines
1.5 KiB
YAML
39 lines
1.5 KiB
YAML
name: Pi owner runtime verification
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review, converted_to_draft]
|
|
paths:
|
|
- 'src/main/pi/**'
|
|
- '!src/main/pi/**/*.test.ts'
|
|
- 'tests/tools/pi-owner-runtime-smoke.mjs'
|
|
- 'tests/tools/omp-completion-runtime-smoke.mjs'
|
|
- '.github/workflows/pi-owner-runtime.yml'
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: pi-owner-runtime-${{ github.event.pull_request.number || github.run_id }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
jobs:
|
|
runtime:
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.draft != true
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 20
|
|
env:
|
|
ORCA_BACKGROUND_LAUNCH: '1'
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
- uses: ./.github/actions/install-node-dependencies
|
|
- name: Install pinned extension loader
|
|
run: npm install --prefix .cache/pi-owner --ignore-scripts --no-audit --no-fund @earendil-works/pi-coding-agent@0.83.0
|
|
- name: Verify real owner exit and hook delivery
|
|
run: node tests/tools/pi-owner-runtime-smoke.mjs .cache/pi-owner/node_modules/@earendil-works/pi-coding-agent
|
|
- name: Verify OMP completion over native HTTP
|
|
run: node tests/tools/omp-completion-runtime-smoke.mjs
|