-
Notifications
You must be signed in to change notification settings - Fork 691
42 lines (33 loc) · 1.3 KB
/
sessions-e2e.yml
File metadata and controls
42 lines (33 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Firebase Sessions E2E Tests
on:
schedule:
- cron: 24 */4 * * * # every 4 hours at 24 minutes past the hour
workflow_dispatch: # allow triggering the workflow manually
concurrency:
group: ${{ github.workflow }}
env:
SESSIONS_E2E_GOOGLE_SERVICES: ${{ secrets.SESSIONS_E2E_GOOGLE_SERVICES }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout firebase-sessions
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: set up JDK 17
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Add google-services.json
run: |
echo $SESSIONS_E2E_GOOGLE_SERVICES | base64 -d > google-services.json
- uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8
with:
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
- name: Run sessions end-to-end tests
env:
FTL_RESULTS_BUCKET: fireescape
run: |
./gradlew :firebase-sessions:test-app:deviceCheck withErrorProne -PtargetBackend="prod" -PtriggerCrashes