github: run pull requests on both API 23 and 29

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-11 23:19:49 +05:30
parent a2cb0f073c
commit 048e0d01de
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -4,6 +4,9 @@ name: Check pull request
jobs: jobs:
test-pr: test-pr:
runs-on: macos-latest runs-on: macos-latest
strategy:
matrix:
api-level: [23, 29]
steps: steps:
- name: Check if relevant files have changed - name: Check if relevant files have changed
@ -37,7 +40,7 @@ jobs:
if: ${{ steps.service-changed.outputs.result == 'true' }} if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: reactivecircus/android-emulator-runner@v2.11.0 uses: reactivecircus/android-emulator-runner@v2.11.0
with: with:
api-level: 29 api-level: ${{ matrix.api-level }}
target: default target: default
script: ./gradlew :app:connectedDebugAndroidTest script: ./gradlew :app:connectedDebugAndroidTest