mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-08 19:19:42 +00:00
* fix(web): speed up cold session first paint * test(web): update pagination fixtures for cold page * test(web): wait for cold page before loading history * feat(native): match cold session pagination * test(native): cover cached re-entry page size
39 lines
1.4 KiB
YAML
39 lines
1.4 KiB
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Test PR review automation
|
|
run: node --test .github/scripts/pr-review.test.cjs
|
|
- uses: oven-sh/setup-bun@v2
|
|
- run: bun install --frozen-lockfile
|
|
- run: bun typecheck
|
|
- run: bunx playwright install --with-deps chromium
|
|
- run: bun run test:e2e -- terminal-wrap-fidelity.spec.ts composer-copy.spec.ts session-list-scroll.spec.ts cold-initial-tail.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
|