Skip to content

Commit

Permalink
ci: retry chrome integ tests on push and pr set timeout to 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Oct 3, 2023
1 parent 6a44334 commit 8794910
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/playwright-chromium-integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,18 @@ jobs:
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright integration tests in chromium

- name: Run Playwright integration tests in Chromium Attempt 1
timeout-minutes: 30
id: attemptC1
continue-on-error: true
run: npm run testIntegChromium

- name: Run Playwright integration tests in Chromium Attempt 2
if: steps.attemptC1.outcome == 'failure'
id: attemptC2
run: npm run testIntegChromium

- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/playwright-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,15 @@ jobs:
- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Playwright integration tests in Chromium
- name: Run Playwright integration tests in Chromium Attempt 1
timeout-minutes: 30
id: attemptC1
continue-on-error: true
run: npm run testIntegChromium

- name: Run Playwright integration tests in Chromium Attempt 2
if: steps.attemptC1.outcome == 'failure'
id: attemptC2
run: npm run testIntegChromium

raiseIssue:
Expand Down

0 comments on commit 8794910

Please sign in to comment.