upload cypress screenshots & videos

This commit is contained in:
Ulf Gebhardt 2021-04-10 13:16:06 +02:00
parent 57d9cb81f7
commit c1b2c28724
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -311,7 +311,7 @@ jobs:
##########################################################################
# FULLSTACK TESTS CYPRESS ################################################
##########################################################################
- name: backend | copy env files webapp
- name: webapp | copy env files webapp
run: cp webapp/.env.template webapp/.env
- name: backend | copy env files backend
run: cp backend/.env.template backend/.env
@ -321,3 +321,17 @@ jobs:
run: |
yarn install
yarn run cypress:run
##########################################################################
# UPLOAD SCREENSHOTS & VIDEO #############################################
##########################################################################
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: cypress-screenshots
path: cypress/screenshots/
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: cypress-videos
path: cypress/videos/