diff --git a/.github/workflows/android_ui_tests.yml b/.github/workflows/android_ui_tests.yml index 1faf5cfb..f813309b 100644 --- a/.github/workflows/android_ui_tests.yml +++ b/.github/workflows/android_ui_tests.yml @@ -4,8 +4,11 @@ on: pull_request # creates device snapshot for faster startup jobs: - ui_test: - runs-on: macos-latest # performance improvements + test: + runs-on: macos-latest + strategy: + matrix: + api-level: [ 29 ] steps: - name: checkout uses: actions/checkout@v3 @@ -35,13 +38,13 @@ jobs: path: | ~/.android/avd/* ~/.android/adb* - key: avd-29 + key: avd-${{ matrix.api-level }} - name: create AVD and generate snapshot for caching if: steps.avd-cache.outputs.cache-hit != 'true' uses: reactivecircus/android-emulator-runner@v2 with: - api-level: 29 + api-level: ${{ matrix.api-level }} force-avd-creation: false emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: false @@ -50,7 +53,7 @@ jobs: - name: run tests uses: reactivecircus/android-emulator-runner@v2 with: - api-level: 29 + api-level: ${{ matrix.api-level }} force-avd-creation: false emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true