Files
hapi/.github/workflows/test.yml
T
AnanovoandGitHub b4f46f58bb fix(web): preserve shared turn layout and generated file downloads (#1543)
* fix(web): preserve wrapped inline code in shared images

* test(web): snapshot wrapped inline code export

* ci: cover shared turn export on Linux

* ci: cover shared turn export on Linux

* fix(web): preserve generated file controls in shared previews

* fix(web): ignore late shared file responses

* fix(web): keep shared file links keyboard accessible

* chore: retrigger PR checks

* chore: retrigger PR checks

* fix(ci): correct E2E workflow indentation

* fix(web): hide table scrollbars in shared image exports
2026-10-28 12:05:20 +08:00

42 lines
1.7 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
# 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 composer-copy.spec.ts session-list-scroll.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
- 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