1
1
name : Firebase Sessions E2E Tests
2
2
3
3
on :
4
- workflow_dispatch : # allow triggering the workflow manually
4
+ schedule :
5
+ - cron : 24 */4 * * * # every 4 hours at 24 minutes past the hour
6
+ workflow_dispatch : # allow triggering the workflow manually
5
7
6
8
concurrency :
7
9
group : ${{ github.workflow }}
@@ -15,24 +17,29 @@ jobs:
15
17
runs-on : ubuntu-latest
16
18
17
19
steps :
18
- - name : Checkout firebase-sessions
19
- uses : actions/checkout@v3
20
- with :
21
- ref : ' firebase-sessions'
22
-
23
- - name : set up JDK 11
24
- uses : actions/setup-java@v3
25
- with :
26
- java-version : ' 11'
27
- distribution : ' temurin'
28
- cache : gradle
29
-
30
- - name : Add google-services.json
31
- run : |
32
- echo $SESSIONS_E2E_GOOGLE_SERVICES | base64 -d > google-services.json
33
-
34
- - name : Grant execute permission for gradlew
35
- run : chmod +x gradlew
36
-
37
- - name : Run sessions end-to-end tests
38
- run : ./gradlew firebase-sessions:deviceCheck withErrorProne -PtargetBackend="prod"
20
+ - name : Checkout firebase-sessions
21
+ uses : actions/checkout@v3
22
+ with :
23
+ ref : ' firebase-sessions'
24
+
25
+ - name : set up JDK 11
26
+ uses : actions/setup-java@v3
27
+ with :
28
+ java-version : ' 11'
29
+ distribution : ' temurin'
30
+ cache : gradle
31
+
32
+ - name : Add google-services.json
33
+ run : |
34
+ echo $SESSIONS_E2E_GOOGLE_SERVICES | base64 -d > google-services.json
35
+
36
+ - uses : google-github-actions/auth@v0
37
+ with :
38
+ credentials_json : ${{ secrets.GCP_SERVICE_ACCOUNT }}
39
+ - uses : google-github-actions/setup-gcloud@v0
40
+ - name : Run sessions end-to-end tests
41
+ env :
42
+ FTL_RESULTS_BUCKET : fireescape
43
+ FIREBASE_APP_CHECK_DEBUG_SECRET : ${{ secrets.FIREBASE_APP_CHECK_DEBUG_SECRET }}
44
+ run : |
45
+ ./gradlew :firebase-sessions:deviceCheck withErrorProne -PtargetBackend="prod"
0 commit comments