Skip to content

Commit 993f497

Browse files
authored
Add google-services.json file to unit tests (#4868)
1 parent 0d7f778 commit 993f497

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci_tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
distribution: temurin
5757
cache: gradle
5858

59+
- name: Add google-services.json
60+
env:
61+
INTEG_TESTS_GOOGLE_SERVICES: ${{ secrets.INTEG_TESTS_GOOGLE_SERVICES }}
62+
run: |
63+
echo $INTEG_TESTS_GOOGLE_SERVICES | base64 -d > google-services.json
64+
5965
- name: ${{ matrix.module }} Unit Tests
6066
env:
6167
FIREBASE_CI: 1

firebase-sessions/test-app/test-app.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,6 @@ dependencies {
4848
implementation("com.google.android.material:material:1.8.0")
4949
}
5050

51-
// extra["packageName"] = "com.google.firebase.testing.sessions"
52-
// apply(from = "../../gradle/googleServices.gradle")
51+
extra["packageName"] = "com.google.firebase.testing.sessions"
52+
53+
apply(from = "../../gradle/googleServices.gradle")

0 commit comments

Comments
 (0)