github: switch to debug builds (#1037)

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-08-21 02:38:58 +05:30 committed by GitHub
parent cf5310e0fb
commit 1b8fedd8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
api-level: [23, 29]
variant: [freeRelease, nonFreeRelease]
variant: [freeDebug, nonFreeDebug]
steps:
- name: Check if relevant files have changed
@ -70,7 +70,7 @@ jobs:
run: ./gradlew test${{ matrix.variant }} lint${{ matrix.variant}} -Dpre-dex=false
- name: Run instrumentation tests on free flavor
if: ${{ steps.service-changed.outputs.result == 'true' && matrix.variant == 'freeRelease' }}
if: ${{ steps.service-changed.outputs.result == 'true' && matrix.variant == 'freeDebug' }}
uses: reactivecircus/android-emulator-runner@v2.11.0
with:
api-level: ${{ matrix.api-level }}
@ -82,7 +82,7 @@ jobs:
./gradlew :app:connectedFreeDebugAndroidTest
- name: Run instrumentation tests on nonFree flavor
if: ${{ steps.service-changed.outputs.result == 'true' && matrix.variant == 'nonFreeRelease' }}
if: ${{ steps.service-changed.outputs.result == 'true' && matrix.variant == 'nonFreeDebug' }}
uses: reactivecircus/android-emulator-runner@v2.11.0
with:
api-level: ${{ matrix.api-level }}