File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test Android Devices [m1]
2+
3+ on :
4+ # Run daily at 9 PM UTC
5+ schedule :
6+ - cron : ' 0 21 * * *'
7+ # Allow manual triggering
8+ workflow_dispatch :
9+ inputs :
10+ environment :
11+ description : " Environment to run tests against"
12+ type : choice
13+ options :
14+ - prod
15+ - dev
16+ default : " prod"
17+ required : true
18+ use-beta :
19+ description : " Use beta version"
20+ type : boolean
21+ default : false
22+ required : false
23+
24+ jobs :
25+ test-android-devices :
26+ name : pixel-7 - API 34
27+ runs-on : ubuntu-latest
28+
29+ steps :
30+ - uses : actions/checkout@v3
31+
32+ - name : Run Android Device Test
33+ uses : devicecloud-dev/device-cloud-for-maestro@v2
34+ with :
35+ api-key : ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
36+ api-url : ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
37+ app-file : ./binaries/sample.apk
38+ workspace : ./flows/android-flow.yaml
39+ android-device : pixel-7
40+ android-api-level : " 34"
41+ runner-type : m1
42+ use-beta : ${{ github.event.inputs.use-beta }}
43+ retry : 1
44+ name : " pixel-7 - Android API 34 Test Run [m1]"
You can’t perform that action at this time.
0 commit comments