From c1b2c287249e849741a2c23b7667380202c04ff7 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 06fcf2e78..423e441ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ 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/