mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-26 17:42:29 +08:00
feat(ci): display trace if playwright fails in docker
This commit is contained in:
parent
a9c07af402
commit
002c567ae9
8
.github/workflows/main-docker.yml
vendored
8
.github/workflows/main-docker.yml
vendored
@ -83,6 +83,14 @@ jobs:
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: TRILIUM_DOCKER=1 TRILIUM_PORT=8082 pnpm exec nx run server-e2e:e2e
|
||||
|
||||
- name: Upload Playwright trace
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Playwright trace (${{ matrix.dockerfile }})
|
||||
path: test-output/playwright/output
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ !cancelled() }}
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user