/
action.yml
67 lines (66 loc) · 2.58 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
58
59
60
61
62
63
64
65
66
67
name: "Run mabl tests"
description: "Register a deployment event with mabl and run associated tests"
branding:
icon: play-circle
color: white
inputs:
application-id:
description: ^
'the mabl id for the deployed application. You can get the id using the
curl builder at https://app.mabl.com/workspaces/-/settings/apis. Either
this or environment-id must be provided'
required: false
environment-id:
description: ^
'the mabl id for the deployed environment. You can get the id using the
curl builder at https://app.mabl.com/workspaces/-/settings/apis. Either
this or application-id must be provided'
required: false
browser-types:
description: ^
'override for the browser types to test (comma separated). If not provided, mabl will test
the browsers configured on the triggered test plans.'
required: false
uri:
description: ^
'the base uri to test against. If provided, this will override the default uri
associated with the environment in mabl'
required: false
rebaseline-images:
description: ^
'Set to true to reset the visual baseline to the current deployment'
required: false
default: false
set-static-baseline:
description: ^
'Set to true to use the current deployment as an exact static
baseline. If this is set, mabl will not model dynamic areas and will use
the current deployment as a pixel-exact visual baseline.'
required: false
default: false
continue-on-failure:
description: ^
'Set to true to continue the build even if there are test failures'
required: false
default: false
event-time:
description: "The event time the deployment happened at. Defaults to now."
required: false
outputs:
mabl-deployment-id:
description: "mabl deployment event id"
plans_run:
description: "total number of mabl plans run against this deployment. A mabl plan is a collection of similarly configured tests."
plans_passed:
description: "number of mabl plans that passed against this deployment. A mabl plan is a collection of similarly configured tests."
plans_failed:
description: "number of mabl plans that failed against this deployment. A mabl plan is a collection of similarly configured tests."
tests_run:
description: "total number of mabl tests run against this deployment."
tests_passed:
description: "number of mabl tests that passed against this deployment."
tests_failed:
description: "number of mabl tests that failed against this deployment."
runs:
using: "node12"
main: "lib/src/index.js"