-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathandroid-maestro-version-matrix.yml
More file actions
56 lines (51 loc) · 1.55 KB
/
android-maestro-version-matrix.yml
File metadata and controls
56 lines (51 loc) · 1.55 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Test Multiple Maestro Versions on Android
on:
# Run at 4 AM UTC every 2 days
schedule:
- cron: "0 4 */2 * *"
# Allow manual triggering
workflow_dispatch:
inputs:
environment:
description: "Environment to run tests against"
type: choice
options:
- prod
- dev
default: "prod"
required: true
use-beta:
description: "Use beta version"
type: boolean
default: false
required: false
jobs:
test-android:
name: Android - Maestro ${{ matrix.maestro-version }}
runs-on: ubuntu-latest
strategy:
# Don't cancel all jobs if one fails
fail-fast: false
matrix:
maestro-version:
- "1.39.5"
- "1.41.0"
- "2.0.4"
- "2.0.9"
- "2.1.0"
- "2.2.0"
- "2.5.0"
- "2.5.1"
- "2.6.0"
steps:
- uses: actions/checkout@v3
- name: Run Android Maestro Tests
uses: devicecloud-dev/device-cloud-for-maestro@v2
with:
api-key: ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
api-url: ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
app-file: ./binaries/sample.apk
workspace: ./flows/android-flow-simple.yaml
maestro-version: ${{ matrix.maestro-version }}
use-beta: ${{ github.event.inputs.use-beta }}
name: "Android - Maestro ${{ matrix.maestro-version }} Test Run"