Skip to content
Merged
Show file tree
Hide file tree
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
16 changes: 12 additions & 4 deletions .github/workflows/android-devices-matrix-chrome-cpu1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fail-fast: false
matrix:
include:
# Pixel 6 supports API 29-36
# Pixel 6 supports API 29-37
- device: pixel-6
api-level: "29"
- device: pixel-6
Expand All @@ -48,14 +48,16 @@ jobs:
api-level: "35"
- device: pixel-6
api-level: "36"
- device: pixel-6
api-level: "37"

# Pixel 6 Pro supports API 33, 35
- device: pixel-6-pro
api-level: "33"
- device: pixel-6-pro
api-level: "35"

# Pixel 7 supports API 33-36
# Pixel 7 supports API 33-37
- device: pixel-7
api-level: "33"
- device: pixel-7
Expand All @@ -64,13 +66,15 @@ jobs:
api-level: "35"
- device: pixel-7
api-level: "36"
- device: pixel-7
api-level: "37"

# Google Play: only pixel-7 / API 34 is supported
- device: pixel-7
api-level: "34"
google-play: true

# Pixel 7 Pro supports API 33-36
# Pixel 7 Pro supports API 33-37
- device: pixel-7-pro
api-level: "33"
- device: pixel-7-pro
Expand All @@ -79,10 +83,14 @@ jobs:
api-level: "35"
- device: pixel-7-pro
api-level: "36"
- device: pixel-7-pro
api-level: "37"

# Generic Tablet supports API 33 only
# Generic Tablet supports API 33 and 36
- device: generic-tablet
api-level: "33"
- device: generic-tablet
api-level: "36"

steps:
- uses: actions/checkout@v3
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/android-devices-matrix-cpu1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fail-fast: false
matrix:
include:
# Pixel 6 supports API 29-36
# Pixel 6 supports API 29-37
- device: pixel-6
api-level: "29"
- device: pixel-6
Expand All @@ -48,14 +48,16 @@ jobs:
api-level: "35"
- device: pixel-6
api-level: "36"
- device: pixel-6
api-level: "37"

# Pixel 6 Pro supports API 33, 35
- device: pixel-6-pro
api-level: "33"
- device: pixel-6-pro
api-level: "35"

# Pixel 7 supports API 33-36
# Pixel 7 supports API 33-37
- device: pixel-7
api-level: "33"
- device: pixel-7
Expand All @@ -64,13 +66,15 @@ jobs:
api-level: "35"
- device: pixel-7
api-level: "36"
- device: pixel-7
api-level: "37"

# Google Play: only pixel-7 / API 34 is supported
- device: pixel-7
api-level: "34"
google-play: true

# Pixel 7 Pro supports API 33-36
# Pixel 7 Pro supports API 33-37
- device: pixel-7-pro
api-level: "33"
- device: pixel-7-pro
Expand All @@ -79,10 +83,14 @@ jobs:
api-level: "35"
- device: pixel-7-pro
api-level: "36"
- device: pixel-7-pro
api-level: "37"

# Generic Tablet supports API 33 only
# Generic Tablet supports API 33 and 36
- device: generic-tablet
api-level: "33"
- device: generic-tablet
api-level: "36"


steps:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/android-devices-matrix-gpu1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,39 @@ jobs:
fail-fast: false
matrix:
include:
# Pixel 6 API 34-36
# Pixel 6 API 34-37
- device: pixel-6
api-level: "34"
- device: pixel-6
api-level: "35"
- device: pixel-6
api-level: "36"
- device: pixel-6
api-level: "37"

# Pixel 6 Pro API 35
- device: pixel-6-pro
api-level: "35"

# Pixel 7 API 34-36
# Pixel 7 API 34-37
- device: pixel-7
api-level: "34"
- device: pixel-7
api-level: "35"
- device: pixel-7
api-level: "36"
- device: pixel-7
api-level: "37"

# Pixel 7 Pro API 34-36
# Pixel 7 Pro API 34-37
- device: pixel-7-pro
api-level: "34"
- device: pixel-7-pro
api-level: "35"
- device: pixel-7-pro
api-level: "36"
- device: pixel-7-pro
api-level: "37"


steps:
Expand Down
42 changes: 38 additions & 4 deletions .github/workflows/android-devices-matrix-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,43 @@ on:

jobs:
test-android-devices:
name: pixel-7 - API 34
name: ${{ matrix.device }} - API ${{ matrix.api-level }}
runs-on: ubuntu-latest

strategy:
# Do not cancel all jobs if one fails
fail-fast: false
# Mirrors the Mac AVD matrix (infra ansible/ios/android-update.ansible.yml,
# REQUIRED_ANDROID_AVDS in dcd): API 34+ only on the Macs, no tablet.
matrix:
include:
- device: pixel-6
api-level: "34"
- device: pixel-6
api-level: "35"
- device: pixel-6
api-level: "36"
- device: pixel-6
api-level: "37"
- device: pixel-6-pro
api-level: "35"
- device: pixel-7
api-level: "34"
- device: pixel-7
api-level: "35"
- device: pixel-7
api-level: "36"
- device: pixel-7
api-level: "37"
- device: pixel-7-pro
api-level: "34"
- device: pixel-7-pro
api-level: "35"
- device: pixel-7-pro
api-level: "36"
- device: pixel-7-pro
api-level: "37"

steps:
- uses: actions/checkout@v3

Expand All @@ -36,9 +70,9 @@ jobs:
api-url: ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
app-file: ./binaries/sample.apk
workspace: ./flows/android-flow.yaml
android-device: pixel-7
android-api-level: "34"
android-device: ${{ matrix.device }}
android-api-level: ${{ matrix.api-level }}
runner-type: m1
use-beta: ${{ github.event.inputs.use-beta }}
retry: 1
name: "pixel-7 - Android API 34 Test Run [m1]"
name: "${{ matrix.device }} - Android API ${{ matrix.api-level }} Test Run [m1]"
3 changes: 2 additions & 1 deletion flows/chrome-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ appId: com.android.chrome
- launchApp
- waitForAnimationToEnd
- assertVisible:
text: ".*(Search or type URL|Search or type web address).*"
# Chrome on the API 37 image says "Search Google or type URL".
text: ".*(Search or type URL|Search or type web address|Search Google or type URL).*"
- tapOn:
text: "Got it"
optional: true
Loading