Skip to content

Commit

Permalink
ci(android): test all sdk on push, limit set on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed May 14, 2024
1 parent c6f7bf9 commit 7f318e1
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
32 changes: 30 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on:
jobs:
test:
name: Android ${{ matrix.versions.android }} Test
if: github.event.push || matrix.versions.run-on-pr
runs-on: ubuntu-latest
continue-on-error: true

Expand All @@ -56,22 +57,49 @@ jobs:
strategy:
matrix:
versions:
# Test the lowest minimum supported APIs
- android: 7
android-api: 24
run-on-pr: true

- android: 7.1
android-api: 25
run-on-pr: false

- android: 8
android-api: 26
run-on-pr: false

- android: 8.1
android-api: 27
run-on-pr: false

- android: 9
android-api: 28
run-on-pr: false

# Test the last 3-4 supported APIs
- android: 10
android-api: 29
run-on-pr: true

- android: 11
android-api: 30
run-on-pr: false

- android: 12
android-api: 31
run-on-pr: false

- android: 12L
android-api: 32
run-on-pr: false

- android: 13
android-api: 33
run-on-pr: false

- android: 13
android-api: 34
run-on-pr: true

timeout-minutes: 60

Expand Down
7 changes: 7 additions & 0 deletions conf/pr/local/android-14.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"platform": "android@latest",
"action": "run",
"cleanUpAfterRun": true,
"verbose": true,
"skipAppiumTests": true
}

0 comments on commit 7f318e1

Please sign in to comment.