Retry test steps of nightly builds (#867)
This commit is contained in:
parent
2e89206a75
commit
d264bc4940
|
@ -70,7 +70,11 @@ jobs:
|
|||
build-${{ env.cache-name }}-
|
||||
|
||||
- name: Test with Gradle
|
||||
run: ./gradlew testJava${{ matrix.java }}
|
||||
uses: nick-invision/retry@v1
|
||||
with:
|
||||
command: ./gradlew testJava${{ matrix.java }}
|
||||
timeout_minutes: 60
|
||||
max_attempts: 3
|
||||
|
||||
testLatestDep:
|
||||
needs: build
|
||||
|
@ -96,7 +100,11 @@ jobs:
|
|||
build-${{ env.cache-name }}-
|
||||
|
||||
- name: Test with Gradle
|
||||
run: ./gradlew latestDepTest
|
||||
uses: nick-invision/retry@v1
|
||||
with:
|
||||
command: ./gradlew latestDepTest
|
||||
timeout_minutes: 60
|
||||
max_attempts: 3
|
||||
|
||||
issue:
|
||||
name: Open issue on failure
|
||||
|
|
Loading…
Reference in New Issue