-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yaml
48 lines (48 loc) · 2.22 KB
/
action.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
name: 'AWS Device Farm Browser Testing GitHub Action'
author: 'AWS Device Farm'
description: 'GitHub action for automated browser testing on AWS Device Farm'
branding:
icon: 'cloud'
color: 'orange'
inputs:
mode:
description: >-
The mode to run the action in. Ther are 2 values supported:
Specify `project` mode when you require creation or looking up of an AWS Device Farm Project ARN.
Specify `gridurl` mode when you require a Test Grid URL.
Specify `artifact` mode when you require retrieval of artifacts from an existing AWS Device Farm Project ARN.
required: true
project-arn:
description: >-
The ARN of the AWS Device Farm Browser Testing Project. Alternatively supply a name and a project will be created on your behalf
required: true
url-expires-seconds:
description: >-
Lifetime, in seconds, of the Test Grid URL.
required: false
default: 900
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/Variable/TestGridSessionArtifactCategory/
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: ''
artifact-folder:
description: >-
(optional) The name of the folder that the test artifacts are downloaded into.
required: false
default: 'artifacts'
outputs:
console-url:
description: 'The AWS Console URL for the Test Grid Project'
project-arn:
description: 'The ARN of the AWS Device Farm Browser Testing Project'
grid-url:
description: 'The AWS Device Farm Test Grid URL (only available in gridurl mode)'
grid-url-expires:
description: 'The Datetime that the supplied grid-url will expire formatted as YYYY-MM-DDThh:mm:ss.fffZ'
runs:
using: 'node16'
main: 'dist/index.js'