ci(action): update android workflow (#257)
* ci(action): update android workflow
- Drop minimum 5.1 testing
- Increased minimum 7.0 testing
- Removed SDK 31 testing (Covered by SDK 32)
- Added SDK 33 testing
* ci: android 13 pr config file
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 1f914ca..3159b6b 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -57,8 +57,8 @@
matrix:
versions:
# Test the lowest minimum supported APIs
- - android: 5.1
- android-api: 22
+ - android: 7
+ android-api: 24
# Test the last 3-4 supported APIs
- android: 10
@@ -67,12 +67,12 @@
- android: 11
android-api: 30
- - android: 12
- android-api: 31
-
- android: 12L
android-api: 32
+ - android: 13
+ android-api: 33
+
timeout-minutes: 60
steps:
@@ -105,7 +105,7 @@
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
run: npm i -g github:apache/cordova-paramedic
- - uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e
+ - uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b
env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
@@ -119,7 +119,7 @@
script: echo "Pregenerate the AVD before running Paramedic"
- name: Run paramedic tests
- uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e
+ uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b
env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
diff --git a/conf/pr/local/android-13.config.json b/conf/pr/local/android-13.config.json
new file mode 100644
index 0000000..c3fecfa
--- /dev/null
+++ b/conf/pr/local/android-13.config.json
@@ -0,0 +1,7 @@
+{
+ "platform": "android@latest",
+ "action": "run",
+ "cleanUpAfterRun": true,
+ "verbose": true,
+ "skipAppiumTests": true
+}