mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4c4c87beaf
commit
3f3ff554bc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user