-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (45 loc) · 1.4 KB
/
android-and-ios-maestro-cloud.yaml
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
name: Android & iOS E2E (Maestro Cloud)
on: [push, pull_request]
jobs:
run_android_e2e:
timeout-minutes: 45
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
api-level: [33, 31, 30, 29]
# ^^^ from: https://cloud.mobile.dev/reference/device-configuration#android
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: mobile-dev-inc/action-maestro-cloud@v1
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: ./app-release.apk
android-api-level: ${{ matrix.api-level }}
name: Android-${{ matrix.api-level }}-${{ github.run_number }}
env: |
APP_ID=com.retyui.myapp
run_ios_e2e:
timeout-minutes: 45
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
ios-version: [16, 15]
# ^^^ from: https://cloud.mobile.dev/reference/device-configuration#android
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: mobile-dev-inc/action-maestro-cloud@v1
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: ./MyApp.app
ios-version: ${{ matrix.ios-version }}
name: iOS-${{ matrix.ios-version }}-${{ github.run_number }}
env: |
APP_ID=com.retyui.myapp