Skip to content

Commit ee0a925

Browse files
committed
CI: verify QA uses Develop Firebase client
1 parent f3f0fd7 commit ee0a925

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

‎.github/workflows/localization-validation.yml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,35 @@ jobs:
6161
shell: pwsh
6262
run: ./scripts/firebase/publish-localization.ps1 -ValidateOnly
6363

64+
- name: Verify QA maps to Develop Firebase client
65+
shell: bash
66+
run: |
67+
trap 'rm -f app/android/google-services.json' EXIT
68+
cat > app/android/google-services.json <<'JSON'
69+
{
70+
"project_info": {
71+
"project_number": "1",
72+
"project_id": "firebase-mapping-test"
73+
},
74+
"client": [
75+
{
76+
"client_info": {
77+
"mobilesdk_app_id": "1:1:android:develop-test",
78+
"android_client_info": {
79+
"package_name": "com.velord.composescreenexample.develop"
80+
}
81+
},
82+
"api_key": [
83+
{
84+
"current_key": "test-api-key"
85+
}
86+
]
87+
}
88+
]
89+
}
90+
JSON
91+
./gradlew :app:android:processQaDebugGoogleServices --stacktrace
92+
6493
- name: Compile and test localization
6594
run: >-
6695
./gradlew

0 commit comments

Comments
 (0)