Skip to content

Commit be3d678

Browse files
Merge pull request #607 from eliashaeussler/task/retry
[TASK] Retry failing tests multiple times in CI
2 parents 93fdfd1 + 883041e commit be3d678

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/cgl.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ jobs:
4343
# Check Composer dependencies
4444
- name: Check dependencies
4545
run: composer-require-checker check --config-file dependency-checker.json
46-
- name: Reset composer.json
47-
run: git checkout composer.json composer.lock
4846
- name: Re-install Composer dependencies
4947
uses: ramsey/composer-install@v2
5048
- name: Check for unused dependencies

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Run acceptance tests
5656
uses: nick-fields/retry@v3
5757
with:
58-
max_attempts: 2
58+
max_attempts: 3
5959
retry_on: error
6060
timeout_minutes: 10
6161
command: ddev composer test:acceptance
@@ -106,7 +106,7 @@ jobs:
106106
- name: Run tests
107107
uses: nick-fields/retry@v3
108108
with:
109-
max_attempts: 2
109+
max_attempts: 3
110110
retry_on: error
111111
timeout_minutes: 10
112112
command: ddev composer test:coverage

0 commit comments

Comments
 (0)