-
-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(critical): Add API Level matrix (#3810)
- Loading branch information
1 parent
c362c98
commit 5183da9
Showing
1 changed file
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ env: | |
|
||
jobs: | ||
build: | ||
name: Build sentry-uitest-android-critical | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
|
@@ -47,9 +47,30 @@ jobs: | |
retention-days: 1 | ||
|
||
run-maestro-tests: | ||
name: Run Maestro Tests | ||
name: Run Tests for API Level ${{ matrix.api-level }} | ||
needs: build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
# we want that the matrix keeps running, default is to cancel them if it fails. | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- api-level: 30 # Android 11 | ||
target: aosp_atd | ||
channel: canary # Necessary for ATDs | ||
arch: x86_64 | ||
- api-level: 31 # Android 12 | ||
target: aosp_atd | ||
channel: canary # Necessary for ATDs | ||
arch: x86_64 | ||
- api-level: 33 # Android 13 | ||
target: aosp_atd | ||
channel: canary # Necessary for ATDs | ||
arch: x86_64 | ||
- api-level: 34 # Android 14 | ||
target: aosp_atd | ||
channel: canary # Necessary for ATDs | ||
arch: x86_64 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -78,12 +99,13 @@ jobs: | |
- name: Run tests | ||
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # [email protected] | ||
with: | ||
api-level: 30 | ||
api-level: ${{ matrix.api-level }} | ||
force-avd-creation: false | ||
disable-animations: true | ||
disable-spellchecker: true | ||
target: 'aosp_atd' | ||
channel: canary # Necessary for ATDs | ||
target: ${{ matrix.target }} | ||
channel: ${{ matrix.channel }} | ||
arch: ${{ matrix.arch }} | ||
emulator-options: > | ||
-no-window | ||
-no-snapshot-save | ||
|