This repository was archived by the owner on Apr 6, 2023. It is now read-only.
File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,19 @@ Again, ***you should not do this in your production app.***
33
33
34
34
See the [ Cloud Platform Auth Guide] ( https://cloud.google.com/docs/authentication#developer_workflow )
35
35
for more information.
36
+
37
+ ### Test
38
+
39
+ Before running tests update the following environment variable with the service
40
+ account:
41
+
42
+ GOOGLE_APPLICATION=service-account.json
43
+
44
+ This environment variable will be used to update the service account used here
45
+ ` app/src/main/res/raw/credential.json ` .
46
+
47
+ Run tests by using:
48
+
49
+ gradle test
50
+
51
+
Original file line number Diff line number Diff line change @@ -34,6 +34,20 @@ Again, ***you should not do this in your production app.***
34
34
See the [ Cloud Platform Auth Guide] ( https://cloud.google.com/docs/authentication#developer_workflow )
35
35
for more information.
36
36
37
+ ### Test
38
+
39
+ Before running tests update the following environment variable with the service
40
+ account:
41
+
42
+ GOOGLE_APPLICATION=service-account.json
43
+
44
+ This environment variable will be used to update the service account used here
45
+ ` app/src/main/res/raw/credential.json ` .
46
+
47
+ Run tests by using:
48
+
49
+ gradle test
50
+
37
51
### Build signed release
38
52
39
53
* This step is optional.*
You can’t perform that action at this time.
0 commit comments