File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,42 @@ jobs:
129
129
FIREBASE_APP_CHECK_DEBUG_SECRET : ${{ secrets.FIREBASE_APP_CHECK_DEBUG_SECRET }}
130
130
run : |
131
131
./gradlew ${{matrix.module}}:deviceCheck withErrorProne -PtargetBackend="prod"
132
+
133
+ firestore_custom_integ_tests :
134
+ name : " Firestore Custom Instrumentation Tests Against Named DB"
135
+ # only run on post submit or PRs not originating from forks.
136
+ if : (github.repository == 'Firebase/firebase-android-sdk' && github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
137
+ if : (matrix.module == ':firebase-firestore')
138
+ runs-on : ubuntu-22.04
139
+ needs :
140
+ - determine_changed
141
+ strategy :
142
+ fail-fast : false
143
+ matrix :
144
+ module : ${{ fromJSON(needs.determine_changed.outputs.modules) }}
145
+
146
+ steps :
147
+
148
+ with :
149
+ fetch-depth : 2
150
+ submodules : true
151
+
152
+ - name : Set up JDK 11
153
+ uses : actions/setup-java@v3
154
+ with :
155
+ java-version : 11
156
+ distribution : temurin
157
+ cache : gradle
158
+
159
+ - name : Add google-services.json
160
+ env :
161
+ INTEG_TESTS_GOOGLE_SERVICES : ${{ secrets.INTEG_TESTS_GOOGLE_SERVICES }}
162
+ run : |
163
+ echo $INTEG_TESTS_GOOGLE_SERVICES | base64 -d > google-services.json
164
+ - uses : google-github-actions/auth@v0
165
+ with :
166
+ credentials_json : ${{ secrets.GCP_SERVICE_ACCOUNT }}
167
+ - uses : google-github-actions/setup-gcloud@v0
132
168
- name : Firestore Named DB Integ Tests
133
169
if : (matrix.module == ':firebase-firestore')
134
170
env :
You can’t perform that action at this time.
0 commit comments