From 3f3ff554bcabf6663503f9eddc1e50f206666fa7 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 17 Dec 2024 03:45:18 -0800 Subject: [PATCH] Bump Android executor and add timeout (#48280) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48280 In an attempt to improve times and stability, I bumped the android machine to an ubuntu with 4 cores. Sometimes the emulator can hang, so i set a timeout for the E2E tests executions of 1 hours to avoid wasting money in CI ## Changelog [Internal] - Bump Android machine and add timeout Reviewed By: fabriziocucci Differential Revision: D67273842 fbshipit-source-id: b7212f52016f8ead1dbb2b4da03cb6f564222893 --- .github/workflows/test-all.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 317fdbc49f4..56801d297bd 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -371,6 +371,7 @@ jobs: - name: Run E2E Tests uses: ./.github/actions/maestro-android + timeout-minutes: 60 with: app-path: /tmp/RNTestProject/android/app/build/outputs/apk/${{ matrix.flavor }}/app-${{ matrix.flavor }}.apk app-id: com.rntestproject @@ -438,7 +439,7 @@ jobs: # Temporarily disable RNTester tests on Android as they are quite flaky and they make CI always red # if: ${{ github.ref == 'refs/heads/main' || contains(github.ref, 'stable') || inputs.run-e2e-tests }} if: ${{ contains(github.ref, 'stable') || inputs.run-e2e-tests }} - runs-on: ubuntu-latest + runs-on: 4-core-ubuntu needs: [build_android] strategy: fail-fast: false