Skip to content

Commit bf1e1a6

Browse files
feat: add artifact upload to cypress test
1 parent fefeb5e commit bf1e1a6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/pythonapp.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,13 @@ jobs:
4646
working-directory: e2e
4747
wait-on: 'http://localhost:8000'
4848
wait-on-timeout: 300
49-
49+
- uses: actions/upload-artifact@v1
50+
if: failure()
51+
with:
52+
name: cypress-screenshots
53+
path: e2e/cypress/screenshots
54+
- uses: actions/upload-artifact@v1
55+
if: always()
56+
with:
57+
name: cypress-videos
58+
path: e2e/cypress/videos

0 commit comments

Comments
 (0)