File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 3131 with :
3232 node-version : 18
3333 cache : ' npm'
34-
34+
3535 - name : Cache node_modules
3636 uses : actions/cache@v4
3737 with :
@@ -57,13 +57,21 @@ jobs:
5757
5858 - run : npx playwright install --with-deps
5959 if : steps.playwright-cache.outputs.cache-hit != 'true'
60-
61- - name : Run script
62- run : ./bin/integration-tests ${{ matrix.wp }} ${{ matrix.php}}
60+
61+ - name : Setup test environment
62+ uses : nick-fields/retry@v3
63+ with :
64+ timeout_minutes : 10
65+ max_attempts : 3
66+ shell : bash
67+ command : ./bin/setup-integration-tests ${{ matrix.wp }} ${{ matrix.php}}
68+
69+ - name : Run integration tests
70+ run : npm run test:playwright
6371
6472 - uses : actions/upload-artifact@v4
6573 if : ${{ !cancelled() }}
6674 with :
6775 name : playwright-report-${{ matrix.wp }}-${{ matrix.php }}
6876 path : playwright-report/
69- retention-days : 30
77+ retention-days : 30
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ function setup {
8585 prepare_test_config
8686 start_services
8787 wait_for_services
88- npm run test:playwright
8988}
9089
9190function teardown {
You can’t perform that action at this time.
0 commit comments