Retry test steps of nightly builds (#867)

This commit is contained in:
Nikita Salnikov-Tarnovski 2020-08-01 17:29:51 +03:00 committed by GitHub
parent 2e89206a75
commit d264bc4940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -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