You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+47-31Lines changed: 47 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -2,76 +2,92 @@ name: 'Device Cloud Action'
2
2
author: 'devicecloud.dev'
3
3
description: 'Uses devicecloud.dev to execute Maestro mobile tests'
4
4
inputs:
5
-
additional-app-binary-ids:
6
-
description: 'The ID of the additional app binary(s) previously uploaded to devicecloud.dev to install before execution'
7
-
required: false
8
-
additional-app-files:
9
-
description: 'Additional app binary(s) to install before execution'
10
-
required: false
11
-
android-api-level:
12
-
description: 'Android API level to run your flow against'
13
-
required: false
14
-
android-device:
15
-
description: 'Android device to run your flow against'
16
-
required: false
17
5
api-key:
18
-
description: 'devicecloud.dev API Key - find this in your app settings in the devicecloud.dev dashboard'
6
+
description: 'API key for devicecloud.dev (find this in the console UI). You can also set the DEVICE_CLOUD_API_KEY environment variable.'
19
7
required: true
20
8
api-url:
21
-
description: 'The API URL to use for the devicecloud.dev service'
9
+
description: 'API URL for devicecloud.dev'
10
+
required: false
11
+
default: 'https://api.devicecloud.dev'
12
+
app-file:
13
+
description: 'App binary to run your flows against'
22
14
required: false
23
15
app-binary-id:
24
-
description: 'The app binary already uploaded to devicecloud.dev'
16
+
description: 'The ID of the app binary previously uploaded to devicecloud.dev'
25
17
required: false
26
-
app-file:
27
-
description: 'Path to the build artifact to upload to devicecloud.dev before running the test'
18
+
additional-app-files:
19
+
description: '[default: ] Additional app binary(s) to install before execution'
20
+
required: false
21
+
additional-app-binary-ids:
22
+
description: '[default: ] The ID of the additional app binary(s) previously uploaded to devicecloud.dev to install before execution'
23
+
required: false
24
+
android-api-level:
25
+
description: '[Android only] Android API level to run your flow against <options: 29|30|31|32|33|34|35>'
26
+
required: false
27
+
android-device:
28
+
description: '[Android only] Android device to run your flow against <options: pixel-6|pixel-6-pro|pixel-7|pixel-7-pro|generic-tablet>'
28
29
required: false
29
30
async:
30
-
description: 'Whether to run Upload in async fashion and not block until completed'
31
+
description: 'Immediately return (exit code 0) from the command without waiting for the results of the run (useful for saving CI minutes)'
31
32
required: false
32
33
device-locale:
33
34
description: 'Locale that will be set to a device, ISO-639-1 code and uppercase ISO-3166-1 code e.g. "de_DE" for Germany'
34
35
required: false
35
36
download-artifacts:
36
-
description: 'BETA (API may change) - download a zip containing the logs, screenshots and videos for each result in this run. Options: ALL|FAILED'
37
+
description: 'Download a zip containing the logs, screenshots and videos for each result in this run. You will debited a $0.01 egress fee for each result. Use FAILED for failures only or ALL for every result. <options: ALL|FAILED>'
37
38
required: false
38
39
env:
39
-
description: 'Set of key=value entries to pass as an input to Maestro flows'
40
+
description: 'One or more environment variables to inject into your flows'
40
41
required: false
41
42
exclude-flows:
42
-
description: 'Subdirectories to ignore when building the flow file list'
43
+
description: '[default: ] Sub directories to ignore when building the flow file list'
43
44
required: false
44
45
exclude-tags:
45
-
description: 'List of tags that will remove flows containing the provided tags'
46
+
description: '[default: ] Flows which have these tags will be excluded from the run'
47
+
required: false
48
+
flows:
49
+
description: 'The path to the flow file or folder containing your flows'
46
50
required: false
47
51
google-play:
48
-
description: 'Run your flow against Google Play devices'
52
+
description: '[Android only] Run your flow against Google Play devices'
53
+
required: false
54
+
ignore-sha-check:
55
+
description: 'Ignore the sha hash check and upload the binary regardless of whether it already exists (not recommended)'
49
56
required: false
50
57
include-tags:
51
-
description: 'List of tags that will remove flows that does not have the provided tags'
58
+
description: '[default: ] Only flows which have these tags will be included in the run'
52
59
required: false
53
60
ios-device:
54
-
description: 'iOS device to run your flow against'
61
+
description: '[iOS only] iOS device to run your flow against <options: iphone-13|iphone-14|iphone-14-plus|iphone-14-pro|iphone-14-pro-max|iphone-15|iphone-15-plus|iphone-15-pro|iphone-15-pro-max|iphone-16|iphone-16-plus|iphone-16-pro|iphone-16-pro-max|ipad-pro-6th-gen>'
55
62
required: false
56
63
ios-version:
57
-
description: 'iOS version to run your flow against'
64
+
description: '[iOS only] iOS version to run your flow against <options: 16|17|18>'
58
65
required: false
59
66
maestro-version:
60
-
description: 'ALPHA pre-release - Maestro version to run your flow against'
67
+
description: 'Maestro version to run your flow against'
61
68
required: false
69
+
default: '1.39.5'
62
70
name:
63
71
description: 'A custom name for your upload (useful for tagging commits etc)'
64
72
required: false
65
73
orientation:
66
-
description: 'Android only - The orientation of the device to run your flow against in degrees (90|180|270)'
74
+
description: '[Android only] The orientation of the device to run your flow against in degrees <options: 0|90|180|270>'
67
75
required: false
68
-
workspace:
69
-
description: 'Path to a folder that contains your test flows'
76
+
quiet:
77
+
description: 'Quieter console output that wont provide progress updates'
78
+
required: false
79
+
report:
80
+
description: 'Runs Maestro with the --format flag, this will generate a report in the specified format <options: junit|html>'
70
81
required: false
71
-
default: './.maestro/'
72
82
retry:
73
83
description: 'Number of times to retry the run if it fails (same as pressing retry in the UI, this will deduct credits from your account)'
74
84
required: false
85
+
workspace:
86
+
description: 'The path to the workspace folder containing your flows'
87
+
required: false
88
+
x86-arch:
89
+
description: '[iOS only, experimental] Run your flow against x86 architecture simulator instead of arm64'
0 commit comments