From 77bcc0e44b245942e65cdc6dfa2d5c0a4f510616 Mon Sep 17 00:00:00 2001 From: Caren Date: Tue, 2 Aug 2022 13:08:19 -0700 Subject: [PATCH] Update Build.yaml --- .github/workflows/Build.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index fa7eac10c..04c251fa8 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -65,7 +65,7 @@ jobs: matrix: api-level: [23, 26, 30] arch: [x86_64] - first-boot-delay: [1000] + first-boot-delay: [600] steps: - name: Checkout @@ -96,8 +96,12 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }} + arch: ${{ matrix.arch }} force-avd-creation: false disable-animations: false + emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + sdcard-path-or-size: 100M + disable-animations: true script: echo "Generated AVD snapshot for caching." - name: Run instrumentation tests @@ -108,6 +112,7 @@ jobs: disable-animations: true disk-size: 1500M heap-size: 512M + force-avd-creation: false script: ./gradlew connectedProdDebugAndroidTest -x :benchmark:connectedProdBenchmarkAndroidTest --stacktrace - name: Upload test reports