diff --git a/.github/workflows/e2e-android.yml b/.github/workflows/e2e-android.yml index c0d3e6366..0899c51ae 100644 --- a/.github/workflows/e2e-android.yml +++ b/.github/workflows/e2e-android.yml @@ -125,6 +125,7 @@ jobs: run: | while ! nc -z '127.0.0.1' 60001; do sleep 1; done while ! nc -z '127.0.0.1' 10009; do sleep 1; done + sleep 5 sudo chmod -R 777 docker/lnd - name: Test attempt 1 @@ -173,9 +174,11 @@ jobs: - name: Restart docker before last attempt if: steps.test1.outcome != 'success' && steps.test2.outcome != 'success' && steps.test3.outcome != 'success' + timeout-minutes: 10 run: | cd docker && docker compose down -t 60 && docker compose up --quiet-pull -d && cd .. while ! nc -z '127.0.0.1' 60001; do sleep 1; done + sleep 5 sudo chmod -R 777 docker/lnd - name: Test attempt 4 diff --git a/.github/workflows/e2e-ios.yml b/.github/workflows/e2e-ios.yml index b6efebef5..9800faa84 100644 --- a/.github/workflows/e2e-ios.yml +++ b/.github/workflows/e2e-ios.yml @@ -80,13 +80,17 @@ jobs: continue-on-error: true id: test2 if: steps.test1.outcome != 'success' - run: yarn e2e:test:ios-release --record-videos all --take-screenshots all --record-logs all --cleanup + run: | + xcrun simctl shutdown all + yarn e2e:test:ios-release --record-videos all --take-screenshots all --record-logs all --cleanup - name: Test attempt 3 continue-on-error: true id: test3 if: steps.test1.outcome != 'success' && steps.test2.outcome != 'success' - run: yarn e2e:test:ios-release --record-videos all --take-screenshots all --record-logs all --cleanup + run: | + xcrun simctl shutdown all + yarn e2e:test:ios-release --record-videos all --take-screenshots all --record-logs all --cleanup - name: Restart docker before last attempt if: steps.test1.outcome != 'success' && steps.test2.outcome != 'success' && steps.test3.outcome != 'success' @@ -100,7 +104,9 @@ jobs: - name: Test attempt 4 id: test4 if: steps.test1.outcome != 'success' && steps.test2.outcome != 'success' && steps.test3.outcome != 'success' - run: yarn e2e:test:ios-release --record-videos all --take-screenshots all --record-logs all --cleanup + run: | + xcrun simctl shutdown all + yarn e2e:test:ios-release --record-videos all --take-screenshots all --record-logs all --cleanup - uses: actions/upload-artifact@v4 if: failure()