@@ -172,7 +172,7 @@ jobs:
172
172
run : echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
173
173
- name : Run unit tests
174
174
run : |
175
- xvfb-run yarn lerna run --concurrency 4 test:ci --scope '{@firebase/firestore*,firebase-firestore-integration-test }'
175
+ xvfb-run yarn lerna run --concurrency 4 test:ci --scope '{@firebase/firestore*}'
176
176
node scripts/print_test_logs.js
177
177
env :
178
178
FIREBASE_TOKEN : ${{ secrets.FIREBASE_CLI_TOKEN }}
@@ -184,3 +184,38 @@ jobs:
184
184
github-token : ${{ secrets.GITHUB_TOKEN }}
185
185
path-to-lcov : ./lcov-all.info
186
186
continue-on-error : true
187
+
188
+ test-firestore-integration :
189
+ name : Firestore Integration Tests
190
+ needs : build
191
+ runs-on : ubuntu-latest
192
+ steps :
193
+ # install Chrome so the correct version of webdriver can be installed by chromedriver when setting up the repo
194
+ - name : install Chrome stable
195
+ run : |
196
+ sudo apt-get update
197
+ sudo apt-get install google-chrome-stable
198
+ - name : Download build archive
199
+ uses : actions/download-artifact@v3
200
+ with :
201
+ name : build.tar.gz
202
+ - name : Unzip build artifact
203
+ run : tar xf build.tar.gz
204
+ - name : Set up Node (16)
205
+ uses : actions/setup-node@v3
206
+ with :
207
+ node-version : 16.x
208
+ - name : Bump Node memory limit
209
+ run : echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
210
+ - name : Test setup and yarn install
211
+ run : |
212
+ cp config/ci.config.json config/project.json
213
+ yarn
214
+ - name : Set start timestamp env var
215
+ run : echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
216
+ - name : Run unit tests
217
+ run : |
218
+ xvfb-run yarn lerna run --concurrency 4 test:ci --scope firebase-firestore-integration-test
219
+ node scripts/print_test_logs.js
220
+ env :
221
+ FIREBASE_TOKEN : ${{ secrets.FIREBASE_CLI_TOKEN }}
0 commit comments