Skip to content

Commit 1d8b989

Browse files
Add env vars for emulators to actions
1 parent 98fd19a commit 1d8b989

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
run: ./gradlew assemble
3131
- name: Run JS Tests
3232
run: ./gradlew cleanTest jsTest
33+
env:
34+
FIREBASE_AUTH_EMULATOR_HOST: "localhost:9099"
35+
FIREBASE_DATABASE_EMULATOR_HOST: "localhost:9000"
36+
FIRESTORE_EMULATOR_HOST: "localhost:8080"
3337
- name: Upload test artifact
3438
uses: actions/upload-artifact@v2
3539
if: failure()
@@ -44,3 +48,7 @@ jobs:
4448
arch: x86_64
4549
profile: Nexus 6
4650
script: ./gradlew connectedAndroidTest
51+
env:
52+
FIREBASE_AUTH_EMULATOR_HOST: "localhost:9099"
53+
FIREBASE_DATABASE_EMULATOR_HOST: "localhost:9000"
54+
FIRESTORE_EMULATOR_HOST: "localhost:8080"

0 commit comments

Comments
 (0)