diff --git a/.github/actions/run-fantom-tests/action.yml b/.github/actions/run-fantom-tests/action.yml index c2b4e231a66..254c22b8a53 100644 --- a/.github/actions/run-fantom-tests/action.yml +++ b/.github/actions/run-fantom-tests/action.yml @@ -27,17 +27,11 @@ runs: run: | for attempt in 1 2 3; do echo "Attempt $attempt of 3" - if [ "$attempt" -eq 1 ]; then - if yarn fantom; then - exit 0 - fi - else - if yarn fantom --onlyFailures; then - exit 0 - fi + if yarn fantom; then + exit 0 fi if [ "$attempt" -lt 3 ]; then - echo "Attempt $attempt failed. Retrying only failed tests..." + echo "Attempt $attempt failed. Retrying..." fi done echo "All 3 attempts failed."