-
Notifications
You must be signed in to change notification settings - Fork 8
63 lines (51 loc) · 1.5 KB
/
flitter-mobile-integration-test.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
55
56
57
58
59
60
61
62
63
name: 🧪 Flutter iOS and Android Integration Tests
permissions:
contents: read
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- "main"
paths-ignore:
- "**.md"
- "doc/**"
- ".git/"
- ".vscode/"
jobs:
integration-tests:
name: Mobile - Integration Tests
runs-on: macos-latest
timeout-minutes: 30
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@v3
# - name : ⤵️ Authenticate with Google Cloud Platform
# uses: 'google-github-actions/auth@v1'
# with:
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}
# - name: ⚙️ Setup Google Cloud SDK
# uses: google-github-actions/setup-gcloud@v1
- name: ⚙️ Setup Java
uses: actions/setup-java@v1
with:
java-version: "12.x"
- name: ⚙️ Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
- name: ⚙️ Setup Melos
uses: bluefireteam/melos-action@v2
- name: ⚙️ Install dependencies for all packages
run: melos build:pub_get:all
- name: 🤖 Run Android Integration Tests
run: ./scripts/flutter_android_integration_test.sh
# - name: 📱 Run iOS Integration Tests
# run: ./scripts/flutter_ios_integration_test.sh