Skip to content

Commit

Permalink
chore: Add emulator tests to nightlies (#1409)
Browse files Browse the repository at this point in the history
* Add emulator tests to nightlies

- Run emulator based integration tests as part of the nightly tests.

* Trigger CI
  • Loading branch information
lahirumaramba authored Aug 16, 2021
1 parent a9d8b41 commit e22f0ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:

- name: Verify public API
run: npm run api-extractor

- name: Run emulator-based integration tests
run: |
npm install -g firebase-tools
firebase emulators:exec --project fake-project-id --only auth,database,firestore \
'npx mocha \"test/integration/{auth,database,firestore}.spec.ts\" --slow 5000 --timeout 20000 --require ts-node/register'
- name: Run integration tests
run: ./.github/scripts/run_integration_tests.sh
Expand Down

0 comments on commit e22f0ef

Please sign in to comment.