Skip to content

Commit 1301af7

Browse files
committed
Enable retries in workflow
1 parent 6d208f3 commit 1301af7

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,19 @@ jobs:
3232
run: Xvfb $DISPLAY &
3333
- name: Run ${{ matrix.project }} tests with Maven
3434
if: matrix.build-tool == 'mvn'
35-
run: |
36-
cd selenium-webdriver-${{ matrix.project }}
37-
mvn test
35+
uses: nick-invision/[email protected]
36+
with:
37+
timeout_minutes: 30
38+
max_attempts: 3
39+
command: |
40+
cd selenium-webdriver-${{ matrix.project }}
41+
mvn test -Dtest
3842
- name: Run ${{ matrix.project }} tests with Gradle
3943
if: matrix.build-tool == 'gradle'
40-
run: |
41-
cd selenium-webdriver-${{ matrix.project }}
42-
./gradlew test
44+
uses: nick-invision/[email protected]
45+
with:
46+
timeout_minutes: 30
47+
max_attempts: 3
48+
command: |
49+
cd selenium-webdriver-${{ matrix.project }}
50+
./gradlew test

0 commit comments

Comments
 (0)