From 43396081326e9ff8d0ac88c5389edb80dfb77463 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Mon, 30 Sep 2024 20:22:53 +0530 Subject: [PATCH] Running tablet job after all the mobile jobs are completed. --- .github/workflows/ci.yml | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acd61d73c..973e45dcf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,26 +52,6 @@ jobs: ~/.android/adb* key: avd-${{ matrix.api-level }} - - name: File Opening test on Tablet - if: ${{ matrix.api-level!=25 }} - uses: reactivecircus/android-emulator-runner@v2 - env: - GRADLE_OPTS: "-Dorg.gradle.internal.http.connectionTimeout=60000 -Dorg.gradle.internal.http.socketTimeout=60000 -Dorg.gradle.internal.network.retry.max.attempts=6 -Dorg.gradle.internal.network.retry.initial.backOff=2000" - with: - api-level: ${{ matrix.api-level }} - target: default - arch: x86_64 - profile: pixel_c - ram-size: 2048M - cores: 4 - emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none - disable-animations: true - force-avd-creation: true - sdcard-path-or-size: 1024M - emulator-boot-timeout: 1200 - heap-size: 512M - script: bash contrib/instrumentation-file-opening-on-tablet.sh - - name: Create AVD and generate snapshot for caching if: steps.avd-cache.outputs.cache-hit != 'true' uses: reactivecircus/android-emulator-runner@v2 @@ -147,6 +127,25 @@ jobs: heap-size: 512M script: bash contrib/instrumentation-customapps.sh + - name: File Opening test on Tablet + if: ${{ matrix.api-level!=25 }} + uses: reactivecircus/android-emulator-runner@v2 + env: + GRADLE_OPTS: "-Dorg.gradle.internal.http.connectionTimeout=60000 -Dorg.gradle.internal.http.socketTimeout=60000 -Dorg.gradle.internal.network.retry.max.attempts=6 -Dorg.gradle.internal.network.retry.initial.backOff=2000" + with: + api-level: ${{ matrix.api-level }} + target: default + arch: x86_64 + profile: pixel_c + ram-size: 2048M + cores: 4 + emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + disable-animations: true + force-avd-creation: true + sdcard-path-or-size: 1024M + emulator-boot-timeout: 1200 + heap-size: 512M + script: bash contrib/instrumentation-file-opening-on-tablet.sh - name: Upload screenshot result uses: actions/upload-artifact@v3