Skip to content

Commit

Permalink
Browserstack workflow should be retried in case of failure. (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljandejsek authored Jan 6, 2021
1 parent 0074929 commit 83f5378
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ jobs:
local-testing: start
local-identifier: random
- name: BrowserStack${{ matrix.browser }}T on Java ${{ matrix.java }}
run: |
xvfb-run mvn verify -DskipUnitTests=true -Djbehave.report.level=STORY -Dbrowser-stack.username=${BROWSERSTACK_USER} -Dbrowser-stack.key=${BROWSERSTACK_KEY} -Dit.test=**/BrowserStack${{ matrix.browser }}T -Pintegration-test -B -V
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: |
xvfb-run mvn verify -DskipUnitTests=true -Djbehave.report.level=STORY -Dbrowser-stack.username=${BROWSERSTACK_USER} -Dbrowser-stack.key=${BROWSERSTACK_KEY} -Dit.test=**/BrowserStack${{ matrix.browser }}T -Pintegration-test -B -V
- name: BrowserStack Local Stop
uses: browserstack/github-actions/setup-local@master
with:
Expand Down

0 comments on commit 83f5378

Please sign in to comment.