Skip to content

Commit

Permalink
Adds retry mechanism to cypress tests
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Apr 22, 2024
1 parent cda06ff commit b2409b3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/actions/run-cypress-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ runs:
done
shell: bash

- name: Run Cypress
run : |
yarn add cypress --save-dev
eval ${{ inputs.yarn_command }}
shell: bash
- name: Run Cypress Tests with retry
uses: Wandalen/[email protected]
with:
attempt_limit: 2
attempt_delay: 2000
command: |
yarn add cypress --save-dev
eval ${{ inputs.yarn_command }}

0 comments on commit b2409b3

Please sign in to comment.