mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 06:15:48 +00:00
github: switch to debug builds (#1037)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
6
.github/workflows/pull_request.yml
vendored
6
.github/workflows/pull_request.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
api-level: [23, 29]
|
api-level: [23, 29]
|
||||||
variant: [freeRelease, nonFreeRelease]
|
variant: [freeDebug, nonFreeDebug]
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check if relevant files have changed
|
- name: Check if relevant files have changed
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
run: ./gradlew test${{ matrix.variant }} lint${{ matrix.variant}} -Dpre-dex=false
|
run: ./gradlew test${{ matrix.variant }} lint${{ matrix.variant}} -Dpre-dex=false
|
||||||
|
|
||||||
- name: Run instrumentation tests on free flavor
|
- 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
|
uses: reactivecircus/android-emulator-runner@v2.11.0
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
./gradlew :app:connectedFreeDebugAndroidTest
|
./gradlew :app:connectedFreeDebugAndroidTest
|
||||||
|
|
||||||
- name: Run instrumentation tests on nonFree flavor
|
- 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
|
uses: reactivecircus/android-emulator-runner@v2.11.0
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
|
Reference in New Issue
Block a user