From: kharhamel Date: Tue, 14 Apr 2020 18:42:57 +0000 (+0200) Subject: added artifact download X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5fb3968234db69cb64bae98c4845a40caf00f314;p=libreadventure.git added artifact download --- diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 35311fd..eee2755 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -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" \ No newline at end of file