Skip to content

Commit

Permalink
Set github action to upload playwright trace if previous step fails
Browse files Browse the repository at this point in the history
  • Loading branch information
WarmCyan committed Jun 21, 2024
1 parent 155ba08 commit 18c443a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- name: Test with pytest
run: pytest -vv -s --tracing retain-on-failure
- name: Archive failed playwright traces
if: failure()
uses: actions/upload-artifact@v4
with:
name: traces
Expand Down

0 comments on commit 18c443a

Please sign in to comment.