Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/integration-tests-ui-critical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,27 @@ jobs:
target: google_apis
channel: canary # Necessary for ATDs
arch: x86_64
memory: 4096
- api-level: 33 # Android 13
target: google_apis
channel: canary # Necessary for ATDs
arch: x86_64
memory: 4096
- api-level: 35 # Android 15
target: google_apis
channel: canary # Necessary for ATDs
arch: x86_64
memory: 4096
- api-level: 36 # Android 16
target: google_apis
channel: canary # Necessary for ATDs
arch: x86_64
memory: 4096
- api-level: "37.0" # Android 17; API 37 ships only as a minor-versioned image
target: google_apis_ps16k # API 37 has no plain google_apis image
channel: canary # Necessary for ATDs
arch: x86_64
memory: 8192
steps:
Comment thread
romtsn marked this conversation as resolved.
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -112,9 +117,9 @@ jobs:
path: |
~/.android/avd/*
~/.android/adb*
# Keyed on the cmdline-tools version so AVDs created by the old, broken
# avdmanager are invalidated automatically.
key: avd-api-${{ matrix.api-level }}-${{ matrix.arch }}-${{ matrix.target }}-tools${{ steps.cmdline-tools.outputs.version }}
# Keyed on memory and the cmdline-tools version so incompatible snapshots
# and AVDs created by the old, broken avdmanager are invalidated automatically.
key: avd-api-${{ matrix.api-level }}-${{ matrix.arch }}-${{ matrix.target }}-memory${{ matrix.memory }}-tools${{ steps.cmdline-tools.outputs.version }}

- name: Create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
Expand All @@ -127,7 +132,7 @@ jobs:
force-avd-creation: false
disable-animations: true
disable-spellchecker: true
emulator-options: -memory 4096 -no-window -gpu auto -noaudio -no-boot-anim -camera-back none
Comment thread
cursor[bot] marked this conversation as resolved.
emulator-options: -memory ${{ matrix.memory }} -no-window -gpu auto -noaudio -no-boot-anim -camera-back none
Comment thread
sentry[bot] marked this conversation as resolved.
disk-size: 4096M
script: echo "Generated AVD snapshot for caching."

Expand All @@ -151,7 +156,7 @@ jobs:
force-avd-creation: false
disable-animations: true
disable-spellchecker: true
emulator-options: -memory 4096 -no-window -gpu auto -noaudio -no-boot-anim -camera-back none -no-snapshot-save
emulator-options: -memory ${{ matrix.memory }} -no-window -gpu auto -noaudio -no-boot-anim -camera-back none -no-snapshot-save
script: |
adb uninstall io.sentry.uitest.android.critical || echo "Already uninstalled (or not found)"
adb install -r -d "${{env.APK_NAME}}"
Expand Down
Loading