Skip to content

Commit

Permalink
Upload screenshot artifact on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Kruggel committed Jul 18, 2024
1 parent 6f9e398 commit ad2a465
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,10 @@ jobs:
shell: bash -e -o pipefail {0}
run: |
kubectl get events -A -o wide
- name: Upload screenshot on failure
if: failure()
uses: actions/upload-artifact@v2
with:
name: playwright-screenshot
path: screenshot.png

0 comments on commit ad2a465

Please sign in to comment.