summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-11-10 20:10:14 +0100
committerAlbin <albin@mullvad.net>2023-11-13 12:08:19 +0100
commit6471612acee67ce0ee37dacf2707fb6a2df33a1d (patch)
tree7b11b101163affc302cbd32518566d2ed1fef862 /.github
parent2cabd4a16b7163b59e8a3635d2ce7fd663bf60ee (diff)
downloadmullvadvpn-6471612acee67ce0ee37dacf2707fb6a2df33a1d.tar.xz
mullvadvpn-6471612acee67ce0ee37dacf2707fb6a2df33a1d.zip
Run instrumented mockapi tests in firebase test lab
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android-app.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index 2f769c1e7e..8fbd64fe68 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -291,3 +291,25 @@ jobs:
path: /tmp/mullvad-${{ matrix.test-type }}-instrumentation-report
if-no-files-found: ignore
retention-days: 1
+
+ instrumented-firebase-tests:
+ name: Run instrumented firebase tests
+ if: github.event_name != 'pull_request'
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ needs: [build-app]
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+
+ - uses: actions/download-artifact@v3
+ with:
+ name: apks
+ path: android
+
+ - name: Run tests on Firebase Test Lab
+ uses: asadmansr/Firebase-Test-Lab-Action@v1.0
+ env:
+ SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
+ with:
+ arg-spec: 'android/test/firebase-test-lab.yml:default'