Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 002c567

Browse files
committed
feat(ci): display trace if playwright fails in docker
1 parent a9c07af commit 002c567

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main-docker.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ jobs:
8383

8484
- name: Run Playwright tests
8585
run: TRILIUM_DOCKER=1 TRILIUM_PORT=8082 pnpm exec nx run server-e2e:e2e
86+
87+
- name: Upload Playwright trace
88+
if: failure()
89+
uses: actions/upload-artifact@v4
90+
with:
91+
name: Playwright trace (${{ matrix.dockerfile }})
92+
path: test-output/playwright/output
93+
8694
- uses: actions/upload-artifact@v4
8795
if: ${{ !cancelled() }}
8896
with:

0 commit comments

Comments
 (0)