diff options
| author | Menny Even Danan <menny@evendanan.net> | 2020-02-25 19:06:11 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2020-02-25 19:26:52 +0000 |
| commit | a98be1d9ede203b3a415f2b8d68005e8f4d63573 (patch) | |
| tree | 0e702ab00bac8bcca64ce931ee957c0df47eb5df /.github/actions | |
| parent | 2a91f81f70bff08459ba4fb5e5144f6477a40ac8 (diff) | |
| download | AnySoftKeyboard-a98be1d9ede203b3a415f2b8d68005e8f4d63573.tar.gz AnySoftKeyboard-a98be1d9ede203b3a415f2b8d68005e8f4d63573.tar.bz2 | |
Re-try tests if gradle worker crashed
Diffstat (limited to '.github/actions')
| -rwxr-xr-x | .github/actions/test-shard-run/run_tests.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/test-shard-run/run_tests.sh b/.github/actions/test-shard-run/run_tests.sh index c4b8a3c63..1f312bbc0 100755 --- a/.github/actions/test-shard-run/run_tests.sh +++ b/.github/actions/test-shard-run/run_tests.sh @@ -11,7 +11,8 @@ echo "Will run tests for module '${MODULE}' with extra args '${EXTRA_ARGS}' for ./scripts/download_robolectric_jars_to_machine.sh #extra args needs to come before the coverage task so "--tests" will be passed to the test tasks -./gradlew "${MODULE}testDebugUnitTest" ${EXTRA_ARGS} "${MODULE}testDebugUnitTestCoverage" +# we automatically re-try on gradle crash +./scripts/retry-on-SIGSEGV.sh 2 6,134 ./gradlew "${MODULE}testDebugUnitTest" ${EXTRA_ARGS} "${MODULE}testDebugUnitTestCoverage" #see https://github.com/actions/cache/issues/133 [[ -n "${GITHUB_ACTIONS}" ]] && chmod -R a+rwx . |
