-
Notifications
You must be signed in to change notification settings - Fork 91
54 lines (44 loc) · 1.18 KB
/
e2e_tests.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
name: Run E2E tests
on:
schedule:
- cron: "0 18 * * *"
workflow_dispatch:
concurrency:
group: ${{ github.head_ref }}-e2e
cancel-in-progress: true
env:
FLUTTER_VERSION: "3.24.3"
jobs:
e2e:
defaults:
run:
working-directory: packages/espressocash_app
permissions:
contents: write
packages: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: "stable"
- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v2"
with:
credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
- uses: actions/setup-java@v4
with:
distribution: "microsoft"
java-version: "11"
- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v2"
with:
project_id: "cryptoplease-dev"
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- run: flutter pub get
- run: make flutter_build
- name: "Run E2E tests"
run: make firebase_e2e