mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-25 05:07:05 +00:00
Use auth.hapi.run as the shared RP with an isolated static browser bridge, Hub-bound challenges and accounts, and one-time PKCE code exchange. Update iOS and Android validation, app associations, deployment documentation, and bidirectional browser regression coverage.
44 lines
2.0 KiB
YAML
44 lines
2.0 KiB
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Test PR automation
|
|
run: node --test .github/scripts/pr-review.test.cjs .github/scripts/auto-merge.test.cjs
|
|
- uses: oven-sh/setup-bun@v2
|
|
- run: bun install --frozen-lockfile
|
|
- run: bun typecheck
|
|
- run: bunx playwright install --with-deps chromium
|
|
- name: Shared Web/App Passkey browser regression
|
|
run: bun run test:passkey:browser
|
|
# Required by cli/src/utils/windowsProcessTree.pwsh.test.ts — image
|
|
# inspect alone does not pull; silent skip was fake B1 coverage (#1911).
|
|
- run: docker pull mcr.microsoft.com/powershell:latest
|
|
- run: bun run test:e2e -- terminal-wrap-fidelity.spec.ts session-list-fork-menu.spec.ts composer-copy.spec.ts session-list-scroll.spec.ts session-activity.spec.ts cold-initial-tail.spec.ts scrollbar-auto-hide.spec.ts attachment-removal.spec.ts history-navigation-layout.spec.ts share-turn.spec.ts share-turn-blob-export.spec.ts composer-attachment-controls.spec.ts image-preview-back.spec.ts opencode-fork-buttons.spec.ts
|
|
- run: bun run test
|
|
|
|
# Serial runner-integration suite: starts real detached runner/session
|
|
# process trees against an isolated temp hub, so it runs in its own job
|
|
# (never in the parallel unit-test path). See cli/vitest.integration.config.ts.
|
|
integration:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: oven-sh/setup-bun@v2
|
|
- run: bun install --frozen-lockfile
|
|
- run: bun run test:cli:integration
|
|
|
|
windows-codex-mcp:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: oven-sh/setup-bun@v2
|
|
- run: bun install --frozen-lockfile
|
|
- run: bun run --cwd cli test -- src/codex/utils/codexMcpProxy.test.ts src/codex/shared/launch.test.ts
|