Running tablet job after all the mobile jobs are completed.

This commit is contained in:
MohitMaliFtechiz 2024-09-30 20:22:53 +05:30 committed by MohitMaliFtechiz
parent a2a654b212
commit 4339608132

View File

@ -52,26 +52,6 @@ jobs:
~/.android/adb* ~/.android/adb*
key: avd-${{ matrix.api-level }} 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 - name: Create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true' if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2 uses: reactivecircus/android-emulator-runner@v2
@ -147,6 +127,25 @@ jobs:
heap-size: 512M heap-size: 512M
script: bash contrib/instrumentation-customapps.sh 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 - name: Upload screenshot result
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3