1616 - master
1717
1818jobs :
19+ check-desktop-tests :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v6
23+ - uses : ./.github/actions/setup_gradle
24+ with :
25+ cache-write-only : ${{ inputs.cache-write-only || false }}
26+ - name : " Run unit tests"
27+ run : ./gradlew :common:desktopTest
1928 check-android-tests :
2029 runs-on : ubuntu-latest
30+ strategy :
31+ fail-fast : true
32+ matrix :
33+ api-level :
34+ - 30
35+ - 26
2136 steps :
2237 - uses : actions/checkout@v6
2338 - uses : ./.github/actions/setup_gradle
2439 with :
2540 cache-write-only : ${{ inputs.cache-write-only || false }}
2641 - uses : ./.github/actions/prepare_kvm
42+ - uses : ./.github/actions/prepare_disk_space
2743 - name : " Prepare env"
2844 run : |
2945 echo ${{ vars.GOOGLE_SERVICES }} | base64 -d | zcat >> androidApp/google-services.json
3046 - uses : ./.github/actions/build_android_licenses
3147 with :
3248 build-flavor : " PlayStore"
33- - name : " Run unit tests"
34- run : ./gradlew :common:desktopTest
3549 - name : " Run integration tests"
3650 id : baseline-profiles
3751 uses : reactivecircus/android-emulator-runner@v2
3852 with :
39- api-level : 30
53+ api-level : ${{ matrix.api-level }}
4054 arch : x86_64
4155 disable-animations : true
4256 disk-size : 4G
@@ -50,15 +64,15 @@ jobs:
5064 uses : actions/upload-artifact@v6
5165 if : always()
5266 with :
53- name : baselineprofile -screen-recordings
67+ name : android-${{ matrix.api-level }} -screen-recordings
5468 path : |
5569 artifactsScreenRecording/
5670 retention-days : 7
5771 - name : ' Upload logs'
5872 uses : actions/upload-artifact@v6
5973 if : always()
6074 with :
61- name : baselineprofile -logs
75+ name : android-${{ matrix.api-level }} -logs
6276 path : |
6377 androidApp/outputs/androidTest-results/
6478 retention-days : 7
0 commit comments