Skip to content

Commit

Permalink
chore: enable e2e dump
Browse files Browse the repository at this point in the history
  • Loading branch information
cnrpman committed Dec 1, 2022
1 parent 1702993 commit 7efa4d8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,25 @@ jobs:
DEBUG: "pw:api"
RELEASE: true # skip dev only test

- name: Save test artifacts - 1/2
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: e2e-test-report-1-of-2
path: e2e-dump/*
retention-days: 1

- name: Run Playwright test - 2/2
run: xvfb-run -- npx playwright test --reporter github --shard=2/2
env:
LOGSEQ_CI: true
DEBUG: "pw:api"
RELEASE: true # skip dev only test

- name: Save test artifacts
- name: Save test artifacts - 2/2
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: e2e-test-report
name: e2e-test-report-2-of-2
path: e2e-dump/*
retention-days: 1
13 changes: 7 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ jobs:
DEBUG: "pw:api"
RELEASE: true # skip dev only test

# - name: Save test artifacts
# if: ${{ failure() }}
# uses: actions/upload-artifact@v2
# with:
# name: e2e-test-report
# path: artifacts.zip
- name: Save e2e artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: e2e-repeat-report-${{ matrix.shard}}-${{ matrix.repeat }}
path: e2e-dump/*
retention-days: 1

0 comments on commit 7efa4d8

Please sign in to comment.