diff --git a/.github/workflows/android_integration_test.yml b/.github/workflows/android_integration_test.yml index 420e77498..21eaa4bc1 100644 --- a/.github/workflows/android_integration_test.yml +++ b/.github/workflows/android_integration_test.yml @@ -20,16 +20,16 @@ jobs: with: access_token: ${{ secrets.GITHUB_TOKEN }} - build-android: + android-device-tests: # use macos to have hardware acceleration https://github.com/ReactiveCircus/android-emulator-runner/issues/46 runs-on: ${{ matrix.os }} - timeout-minutes: 60 + timeout-minutes: 70 strategy: matrix: # lower api-levels would be supported but the webView that is pre-installed on these images does not. - api-level: [29] # 30 is broken for now, 29 is way too flaky + api-level: [33] include: - - os: macos-13 + - os: macos-12 # Macos 13 is broken currently. # needs to be the `id` from the devices given by `avdmanager list device` device: "pixel_3a" # disable for now. it takes ages to build and launch the app and the upper limit of @@ -88,7 +88,6 @@ jobs: - name: Start colima a docker runtime for MacOs run: | brew install docker - brew install colima colima start - name: Run encointer-node @@ -104,6 +103,7 @@ jobs: api-level: ${{ matrix.api-level }} profile: ${{ matrix.device }} force-avd-creation: false + arch: x86_64 emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: false script: echo "Generated AVD snapshot for caching." @@ -118,6 +118,7 @@ jobs: api-level: ${{ matrix.api-level }} profile: ${{ matrix.device }} force-avd-creation: false + arch: x86_64 # as we use the cleanly cached emulator, we need to define `-no-snapshot-save` here. emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true