mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
upload cypress screenshots & videos
This commit is contained in:
parent
57d9cb81f7
commit
c1b2c28724
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@ -311,7 +311,7 @@ jobs:
|
|||||||
##########################################################################
|
##########################################################################
|
||||||
# FULLSTACK TESTS CYPRESS ################################################
|
# FULLSTACK TESTS CYPRESS ################################################
|
||||||
##########################################################################
|
##########################################################################
|
||||||
- name: backend | copy env files webapp
|
- name: webapp | copy env files webapp
|
||||||
run: cp webapp/.env.template webapp/.env
|
run: cp webapp/.env.template webapp/.env
|
||||||
- name: backend | copy env files backend
|
- name: backend | copy env files backend
|
||||||
run: cp backend/.env.template backend/.env
|
run: cp backend/.env.template backend/.env
|
||||||
@ -321,3 +321,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn install
|
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