Phase 8: Gitea CI — runner probe + PR gating jobs (fast-checks + api) #3
@@ -290,8 +290,12 @@ jobs:
|
||||
echo "API ready at :3000"
|
||||
|
||||
# Run the Phase 7 harness across both profiles; preserve its exit code, always kill the API.
|
||||
# Call the pwa test:e2e script DIRECTLY (single pnpm layer) and append --reporter without a
|
||||
# `--` separator: `pnpm <root> test:e2e -- <args>` double-forwards the `--` into
|
||||
# `playwright test -- <args>`, where playwright treats --reporter as a test-file filter →
|
||||
# "No tests found" (run #10). The filtered single-layer form forwards the flag cleanly.
|
||||
set +e
|
||||
pnpm test:e2e -- --reporter=list,html
|
||||
pnpm --filter @familysync/pwa test:e2e --reporter=list,html
|
||||
rc=$?
|
||||
kill "$API_PID" 2>/dev/null || true
|
||||
exit $rc
|
||||
|
||||
Reference in New Issue
Block a user