Skip to content

Commit e22f0ef

Browse files
chore: Add emulator tests to nightlies (#1409)
* Add emulator tests to nightlies - Run emulator based integration tests as part of the nightly tests. * Trigger CI
1 parent a9d8b41 commit e22f0ef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ jobs:
4949

5050
- name: Verify public API
5151
run: npm run api-extractor
52+
53+
- name: Run emulator-based integration tests
54+
run: |
55+
npm install -g firebase-tools
56+
firebase emulators:exec --project fake-project-id --only auth,database,firestore \
57+
'npx mocha \"test/integration/{auth,database,firestore}.spec.ts\" --slow 5000 --timeout 20000 --require ts-node/register'
5258
5359
- name: Run integration tests
5460
run: ./.github/scripts/run_integration_tests.sh

0 commit comments

Comments
 (0)