-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
57 lines (57 loc) · 2.57 KB
/
action.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
name: 'AWS Device Farm Mobile Device Testing GitHub Action'
author: 'AWS Device Farm'
description: 'GitHub action for automated mobile device testing on AWS Device Farm'
branding:
icon: 'cloud'
color: 'orange'
inputs:
run-settings-json:
description: >-
The Run Settings as a json string.
The schema for the contents of this file can be found here:
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-device-farm/Interface/ScheduleRunCommandInput/
The following fields support supplying an ARN or a Name.
- projectArn
- devicePoolArn
- networkProfileArn
- vpceConfigurationArns
The following fields support supplying an ARN or a path to the file to be found within the repository:
- appArn
- testPackageArn
- testSpecArn
- extraDataPackageArn
NOTE: If the file specified is not found in the repo the existing Project Uploads in Device Farm will be searched for one with matching type and name.
required: true
artifact-types:
description: >-
(Optional) A comma delimited list of Device Farm Artifacts that should be downloaded after the jobs completes.
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-device-farm/Interface/ListArtifactsCommandOutput/
Note: To download all artifact types set the value to ALL. To download none skip this input.
They will be downloaded to a folder. The name of the folder can be found by referencing the output with name artifact-folder. Please use the GitHub Action [upload-artifact](https://github.com/actions/upload-artifact) to store them.
required: false
default: ''
upload-poll-interval:
description: >-
(Optional) The duration (in milliseconds) between successive polls for the status of the file upload.
required: false
default: '1000'
run-poll-interval:
description: >-
(Optional) The duration (in milliseconds) between successive polls for the status of the test run.
required: false
default: '30000'
outputs:
arn:
description: 'The ARN of the AWS Device Farm Automated Test Run'
status:
description: 'The status of the Automated Test Run'
result:
description: 'The result of the Automated Test Run'
artifact-folder:
description: 'The name of the folder that the test artifacts are downloaded into'
console-url:
description: 'The AWS Console URL for the test run'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/cleanup/index.js'