|
|
|
@ -34,6 +34,9 @@ jobs:
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
flavor: [Googleplay, Generic]
|
|
|
|
|
steps:
|
|
|
|
|
- name: checkout
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
@ -52,10 +55,10 @@ jobs:
|
|
|
|
|
uses: reactivecircus/android-emulator-runner@v2
|
|
|
|
|
with:
|
|
|
|
|
api-level: 29
|
|
|
|
|
script: ./gradlew -Pcoverage app:testGoogleplayDebugUnitTest app:connectedGoogleplayDebugAndroidTest
|
|
|
|
|
script: ./gradlew -Pcoverage app:test${{ matrix.flavor }}DebugUnitTest app:connected${{ matrix.flavor }}DebugAndroidTest
|
|
|
|
|
- name: Upload test reports
|
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
|
if: ${{ always() }}
|
|
|
|
|
with:
|
|
|
|
|
name: test-reports
|
|
|
|
|
name: test-reports-${{ matrix.flavor }}
|
|
|
|
|
path: app/build/reports/**
|
|
|
|
|