Skip to content

Commit 9704f53

Browse files
committed
separate job
1 parent f7897eb commit 9704f53

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci_tests.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,41 @@ jobs:
129129
FIREBASE_APP_CHECK_DEBUG_SECRET: ${{ secrets.FIREBASE_APP_CHECK_DEBUG_SECRET }}
130130
run: |
131131
./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+
runs-on: ubuntu-22.04
138+
needs:
139+
- determine_changed
140+
strategy:
141+
fail-fast: false
142+
matrix:
143+
module: ${{ fromJSON(needs.determine_changed.outputs.modules) }}
144+
145+
steps:
146+
- uses: actions/[email protected]
147+
with:
148+
fetch-depth: 2
149+
submodules: true
150+
151+
- name: Set up JDK 11
152+
uses: actions/setup-java@v3
153+
with:
154+
java-version: 11
155+
distribution: temurin
156+
cache: gradle
157+
158+
- name: Add google-services.json
159+
env:
160+
INTEG_TESTS_GOOGLE_SERVICES: ${{ secrets.INTEG_TESTS_GOOGLE_SERVICES }}
161+
run: |
162+
echo $INTEG_TESTS_GOOGLE_SERVICES | base64 -d > google-services.json
163+
- uses: google-github-actions/auth@v0
164+
with:
165+
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
166+
- uses: google-github-actions/setup-gcloud@v0
132167
- name: Firestore Named DB Integ Tests
133168
if: (matrix.module == ':firebase-firestore')
134169
env:

0 commit comments

Comments
 (0)