Skip to content

Commit

Permalink
chore: add upload cypress artifact to check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpascual committed Aug 1, 2023
1 parent 7e955e9 commit 37ea268
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ jobs:
wait-on: 'http://localhost:3000'
wait-on-timeout: 120
config-file: cypress.config.js
- name: Upload Cypress videos
if: failure()
uses: actions/upload-artifact@v3
with:
working-directory: e2e-test-app
name: cypress-videos
path: /home/runner/work/amplify-codegen-ui/amplify-codegen-ui/e2e-test-app/cypress/videos
env:
REACT_APP_USER_EMAIL: ${{ secrets.E2E_TEST_USER_EMAIL }}
REACT_APP_USER_PASSWORD: ${{ secrets.E2E_TEST_USER_PASSWORD }}
Expand Down Expand Up @@ -123,6 +130,12 @@ jobs:
wait-on: 'http://localhost:3000'
wait-on-timeout: 210
config-file: cypress.config.ts
- name: Upload Cypress videos
if: failure()
uses: actions/upload-artifact@v3
with:
name: cypress-videos
path: /home/runner/work/amplify-codegen-ui/amplify-codegen-ui/packages/integration-test/cypress/videos
- name: Check Integ Test Coverage
working-directory: packages/integration-test
run: node cypress/scripts/generateCoverageSummary.mjs

0 comments on commit 37ea268

Please sign in to comment.