Skip to content

Commit 4710994

Browse files
committed
improvement(desktop): report desktop E2E failures inline and trace runner memory
1 parent 21bb9e6 commit 4710994

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/test-build.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ jobs:
404404
[ $((SECONDS - started)) -lt "$READY_TIMEOUT_SECONDS" ] || { echo '::error::Local app did not become ready'; exit 1; }
405405
sleep 2
406406
done
407+
(while sleep 15; do echo "memory: $(free -m | awk '/Mem:/ {print $7}') MB available"; done) &
407408
cd apps/desktop
408409
SIM_DESKTOP_E2E_SIM_URL=http://127.0.0.1:3021 \
409410
SIM_DESKTOP_E2E_PROXY_PORT=3020 \
@@ -412,7 +413,7 @@ jobs:
412413
SIM_DESKTOP_E2E_REDIS_URL="$REDIS_URL" \
413414
SIM_DESKTOP_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
414415
xvfb-run -a -s '-screen 0 1920x1200x24' bunx playwright test e2e/desktop-tools-live-sim.spec.ts \
415-
--output "$report_dir/desktop-tools-results"
416+
--output "$report_dir/desktop-tools-results" --reporter=line --retries=0
416417
417418
- name: Upload end-to-end reports and server logs
418419
if: failure()

0 commit comments

Comments
 (0)