Run tests on generic flavor (#2808)

pull/2810/head
Alex Baker 2 months ago committed by GitHub
parent a0e9bfabeb
commit b328651dd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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/**

Loading…
Cancel
Save