Skip to content

Commit e433471

Browse files
committed
Update tests.yml
1 parent 0d21acb commit e433471

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
set -o pipefail
4545
venv/bin/python -m pytest --tb=short 2>&1 | tee error.log
4646
47+
- name: Upload screenshot
48+
if: failure()
49+
uses: actions/upload-artifact@v4
50+
with:
51+
name: failure-screenshot
52+
path: screenshot.png
53+
4754
- name: report playwright failure
4855
if: failure()
4956
uses: Miskler/human-requests-bot@v3

0 commit comments

Comments
 (0)