Skip to content

Commit

Permalink
ci: three attempts for running integ tests on push
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Oct 12, 2023
1 parent f54e7c9 commit 06de631
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/playwright-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: npm run testFirefox

testFirefoxInteg:
timeout-minutes: 60
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -50,9 +50,16 @@ jobs:

- name: Run Playwright integration tests in firefox Attempt 2
if: steps.attempt1.outcome == 'failure'
timeout-minutes: 30
continue-on-error: true
id: attempt2
run: npm run testIntegFirefox

- name: Run Playwright integration tests in firefox Attempt 3
if: steps.attempt2.outcome == 'failure'
id: attempt3
run: npm run testIntegFirefox

testChromiumUnit:
timeout-minutes: 60
runs-on: ubuntu-latest
Expand All @@ -72,7 +79,7 @@ jobs:
run: npm run testChromium

testChromiumInteg:
timeout-minutes: 60
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -93,10 +100,17 @@ jobs:
run: npm run testIntegChromium

- name: Run Playwright integration tests in Chromium Attempt 2
timeout-minutes: 30
continue-on-error: true
if: steps.attemptC1.outcome == 'failure'
id: attemptC2
run: npm run testIntegChromium

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

raiseIssue:
needs: [ testFirefoxUnit, testFirefoxInteg, testChromiumUnit, testChromiumInteg]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 06de631

Please sign in to comment.