ci(android): Drop API 22 & 31. Added API 24 & 33 (#835)

Co-authored-by: エリス <erisu@users.noreply.github.com>
This commit is contained in:
Norman Breau 2023-06-05 10:50:49 -03:00 committed by GitHub
parent 84166f6355
commit 23642f09b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,8 @@ jobs:
matrix: matrix:
versions: versions:
# Test the lowest minimum supported APIs # Test the lowest minimum supported APIs
- android: 5.1 - android: 7
android-api: 22 android-api: 24
# Test the last 3-4 supported APIs # Test the last 3-4 supported APIs
- android: 10 - android: 10
@ -67,12 +67,12 @@ jobs:
- android: 11 - android: 11
android-api: 30 android-api: 30
- android: 12
android-api: 31
- android: 12L - android: 12L
android-api: 32 android-api: 32
- android: 13
android-api: 33
timeout-minutes: 60 timeout-minutes: 60
steps: steps:
@ -105,7 +105,7 @@ jobs:
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }} if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
run: npm i -g github:apache/cordova-paramedic run: npm i -g github:apache/cordova-paramedic
- uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e - uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b
env: env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }} 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 }} system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
@ -119,7 +119,7 @@ jobs:
script: echo "Pregenerate the AVD before running Paramedic" script: echo "Pregenerate the AVD before running Paramedic"
- name: Run paramedic tests - name: Run paramedic tests
uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b
env: env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }} 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 }} system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}