From 68ff3fb653fbcf4063a1f616d347cde3e1e3bbf5 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 10 Apr 2021 13:16:06 +0200 Subject: [PATCH] upload cypress screenshots & videos --- .github/workflows/test.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b6e41909c..79afb81da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -280,7 +280,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 @@ -289,4 +289,18 @@ jobs: - name: cypress | Fullstack tests run: | yarn install - yarn run cypress:run \ No newline at end of file + 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/