Skip to content

Commit

Permalink
Upload traces and report as one artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
jantoun-scottlogic committed Jun 25, 2024
1 parent 48ca821 commit a4f7ece
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/actions/run-playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ runs:
- name: Run Playwright tests
run: npm run playwright-test -- --tracing=retain-on-failure --html=reports/report.html
shell: bash
- name: Upload traces
- name: Upload Playwright traces and report
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-traces
path: playwright/tests/test-results/
- name: Upload HTML report
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-html-report
path: playwright/tests/reports
name: playwright-traces-and-report
path: |
playwright/tests/test-results/
playwright/tests/reports/

0 comments on commit a4f7ece

Please sign in to comment.