mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
upload cypress screenshots & videos
This commit is contained in:
parent
57d9cb81f7
commit
c1b2c28724
18
.github/workflows/test.yml
vendored
18
.github/workflows/test.yml
vendored
@ -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
|
||||
@ -320,4 +320,18 @@ jobs:
|
||||
- name: cypress | Fullstack tests
|
||||
run: |
|
||||
yarn install
|
||||
yarn run cypress:run
|
||||
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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user