added artifact download

This commit is contained in:
kharhamel 2020-04-14 20:42:57 +02:00
parent 56093201fb
commit 5fb3968234

View File

@ -83,3 +83,10 @@ jobs:
- name: "Run cypress"
run: "docker-compose -f docker-compose.yaml -f docker-compose.ci.yml up --exit-code-from cypress cypress" # run cypress in docker-compose and get its exit code
- name: "Upload the screenshot on test failure"
uses: actions/upload-artifact@v1
if: failure()
with:
name: "screenshot"
path: "./e2e/cypress/screenshots/spec.js/WorkAdventureGame -- loads (failed).png"