Skip to content

Commit

Permalink
Upload only playwright folder of report to action artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Nov 21, 2024
1 parent 0508c77 commit 2413836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ jobs:

- name: Set the path in an env var
if: ${{ failure() }}
run: echo "E2E_REPORT_PATH=$(./vendor/bin/qit e2e-report --dir_only --local)" >> $GITHUB_ENV
run: echo "E2E_REPORT_PATH=$(./vendor/bin/qit e2e-report --dir_only --local)/playwright" >> $GITHUB_ENV

- name: Upload ${{ matrix.checkout }} E2E test results
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.checkout }}-WP_latest-WC_latest-results
name: ${{ matrix.checkout }}-test-results
path: ${{ env.E2E_REPORT_PATH }}
if-no-files-found: ignore
retention-days: 14

0 comments on commit 2413836

Please sign in to comment.