Skip to content

Commit

Permalink
ci: archive all test results including retries
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg committed Jun 10, 2022
1 parent 1f95bb3 commit 7637784
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -66,11 +66,11 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install
- run: pnpm test
- name: archive test results
- name: Archive test results
if: failure()
shell: bash
run: find packages -type d -name test-results -not -empty | tar -czf test-results.tar.gz --exclude='*-retry2*' --exclude='*-retry3*' --exclude='*-retry4*' --exclude='*-retry5*' --files-from=-
- name: Upload failed tests screenshots
run: find packages -type d -name test-results -not -empty | tar -czf test-results.tar.gz --files-from=-
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 7637784

Please sign in to comment.