mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 09:38:52 -06:00
GitHub Actions: Increase number of attempts
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
AndroidTest:
|
AndroidTest:
|
||||||
needs: Build
|
needs: Build
|
||||||
runs-on: macOS-10.15
|
runs-on: macOS-10.15
|
||||||
timeout-minutes: 45
|
timeout-minutes: 60
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
api: [
|
api: [
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -286,7 +286,7 @@ main() {
|
|||||||
_print_usage
|
_print_usage
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
for attempt in {1..3}; do
|
for attempt in {1..5}; do
|
||||||
log_info "Running Android tests (attempt $attempt)..."
|
log_info "Running Android tests (attempt $attempt)..."
|
||||||
android_test $1 && return 0
|
android_test $1 && return 0
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user