File tree 2 files changed +37
-1
lines changed
packages/firestore/test/integration/util
2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,40 @@ jobs:
131
131
env :
132
132
EXPERIMENTAL_MODE : true
133
133
134
+ test-firestore-nightly-with-chrome :
135
+ name : Test Nightly Firestore with Chrome
136
+ strategy :
137
+ matrix :
138
+ test-name : ["test:browser:nightly"]
139
+ runs-on : ubuntu-latest
140
+ needs : build
141
+ if : ${{ needs.build.outputs.changed == 'true'}}
142
+ steps :
143
+ - name : Set up Node (16)
144
+ uses : actions/setup-node@v3
145
+ with :
146
+ node-version : 16.x
147
+ - name : install Chrome stable
148
+ run : |
149
+ sudo apt-get update
150
+ sudo apt-get install google-chrome-stable
151
+ - name : Download build archive
152
+ uses : actions/download-artifact@v3
153
+ with :
154
+ name : build.tar.gz
155
+ - name : Unzip build artifact
156
+ run : tar xf build.tar.gz
157
+ - name : Test setup against nightly Firestore
158
+ env :
159
+ INTEG_TESTS_GOOGLE_SERVICES : ${{ secrets.FIRESTORE_SDK_NIGHTLY_PROJECT_JSON }}
160
+ run : |
161
+ echo $INTEG_TESTS_GOOGLE_SERVICES > config/project.json
162
+ - name : Run tests
163
+ run : cd packages/firestore && yarn run ${{ matrix.test-name }}
164
+ env :
165
+ EXPERIMENTAL_MODE : true
166
+
167
+
134
168
compat-test-firefox :
135
169
name : Test Firestore Compatible on Firefox
136
170
# Whatever version of Firefox comes with 22.04 is causing Firefox
Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ function parseTargetBackend(targetBackend: string): TargetBackend {
73
73
case 'prod' :
74
74
return TargetBackend . PROD ;
75
75
default :
76
- throw Error ( 'Unknown backend configuration used for integration tests.' ) ;
76
+ throw Error (
77
+ `Unknown backend configuration ${ targetBackend } used for integration tests.`
78
+ ) ;
77
79
}
78
80
}
79
81
You can’t perform that action at this time.
0 commit comments