Files
hapi/.github/workflows/test.yml
T

29 lines
963 B
YAML

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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
- 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