This commit is contained in:
Evgeny @ SimpleX Chat committed 2026-10-23 06:59:08 +00:00
1 parent 0dd6342d72
commit 2efc55a4cc
4 files changed
+22 -85

No files matched your search

+2 -8
View File
@@ -603,13 +603,11 @@ jobs:
timeout-minutes: 120
shell: bash
run: |
scripts/ci/test-watchdog.sh 45 &
watchdog=$!
i=1
attempts=1
${{ (github.ref == 'refs/heads/stable' || startsWith(github.ref, 'refs/tags/v')) }} && attempts=3
while [ "$i" -le "$attempts" ]; do
if ./simplex-chat-test +RTS -s -RTS; then
if ./simplex-chat-test; then
break
else
echo "Attempt $i failed, retrying..."
@@ -617,7 +615,6 @@ jobs:
sleep 1
fi
done
kill "$watchdog" || true
if [ "$i" -gt "$attempts" ]; then
echo "All "$attempts" attempts failed."
exit 1
@@ -1127,13 +1124,11 @@ jobs:
timeout-minutes: 120
shell: bash
run: |
scripts/ci/test-watchdog.sh 45 &
watchdog=$!
i=1
attempts=1
${{ (github.ref == 'refs/heads/stable' || startsWith(github.ref, 'refs/tags/v')) }} && attempts=3
while [ "$i" -le "$attempts" ]; do
if cabal test --test-show-details=direct --test-options="+RTS -s -RTS" ${{ env.ghc_options }}; then
if cabal test --test-show-details=direct ${{ env.ghc_options }}; then
break
else
echo "Attempt $i failed, retrying..."
@@ -1141,7 +1136,6 @@ jobs:
sleep 1
fi
done
kill "$watchdog" || true
if [ "$i" -gt "$attempts" ]; then
echo "All "$attempts" attempts failed."
exit 1