-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
169 lines (132 loc) · 5.9 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
name: "Newman/Postman action with different outputs"
description: "Run postman collections via GitHub actions using newman 6.0.0 + run summaries as action output for further notifications."
author: "Simon Scholz"
runs:
using: node20
main: dist/index.js
branding:
icon: 'send'
color: 'orange'
inputs:
apiKey:
description: "Postman API key"
required: false
collection:
description: "The exported collection.json to be run or URL to the collection, which needs the `apiKey` property"
required: true
default: ""
environment:
description: "The environment.json to be used or URL to the environment, which needs the `apiKey` property"
required: false
envVar:
description: "Additional environment variables, which can also override the ones from the `environment`."
required: false
globals:
description: "The globals.json to be used"
required: false
globalVar:
description: "Additional global variables, which can also override the ones from the `globals`."
required: false
exportGlobals:
description: "The relative path to export the globals file from the current run"
required: false
exportEnvironment:
description: "The relative path to export the environment file from the current run"
required: false
exportCollection:
description: "The relative path to export the collection from the current run"
required: false
iterationCount:
description: "Specify the number of iterations to run on the collection. This is usually accompanied by providing a data file reference as `iterationData`."
required: false
iterationData:
description: "Path to the JSON or CSV file or URL to be used as a data source when running multiple iterations on a collection."
required: false
folder:
description: "The name or ID of the folder (ItemGroup) in the collection which would be run instead of the entire collection."
required: false
workingDir:
description: "The path of the directory to be used as the working directory."
required: false
insecureFileRead:
description: "Allow reading files outside of the working directory. (type: boolean)"
required: false
timeout:
description: "Specify the time (in milliseconds) to wait for the entire collection run to complete execution. (type: number)"
required: false
default: "Infinity"
timeoutRequest:
description: "Specify the time (in milliseconds) to wait for requests to return a response. (type: number)"
required: false
default: "Infinity"
timeoutScript:
description: "Specify the time (in milliseconds) to wait for scripts to return a response. (type: number)"
required: false
default: "Infinity"
delayRequest:
description: "Specify the time (in milliseconds) to wait for between subsequent requests. (type: number)"
required: false
default: "0"
ignoreRedirects:
description: "This specifies whether Newman would automatically follow 3xx responses from servers. (type: boolean)"
required: false
default: "false"
insecure:
description: "Disables SSL verification checks and allows self-signed SSL certificates. (type: boolean)"
required: false
default: "false"
bail:
description: 'Specify whether or not to stop a collection run on encountering the first test script error. "folder" allows you to skip the entire collection run in case an invalid folder was specified using the `folder` option or an error was encountered in general. "failure" would gracefully stop a collection run after completing the current test script. (possible values: `true` or `false` or `folder` or `failure`)'
required: false
default: "false"
suppressExitCode:
description: "If present, allows overriding the default exit code from the current collection run, useful for bypassing collection result failures. (type: boolean)"
required: false
default: "false"
reporters:
description: "Available reporters: cli, json, html, and junit."
required: false
default: "cli"
reporter:
description: "Specify options for the reporter(s) declared in options.reporters. (type: any)"
required: false
color:
description: "Enable or Disable colored CLI output. (possible values: `on` or `of` or `auto`)"
required: false
default: "auto"
sslClientCert:
description: "The path to the public client certificate file."
required: false
sslClientKey:
description: "The path to the private client key file."
required: false
sslClientPassphrase:
description: "The secret client key passphrase."
required: false
sslClientCertList:
description: "The path to the client certificate configuration list file. This option takes precedence over sslClientCert, sslClientKey, and slClientPassphrase. When there is no match in this configuration list, sslClientCert is used as a fallback."
required: false
sslExtraCaCerts:
description: "The path to the file that holds one or more trusted CA certificates in PEM format."
required: false
requestAgents:
description: "Custom HTTP(S) agents which will be used for making the requests. This allows for the use of various proxies (e.g. socks)"
required: false
cookieJar:
description: "A tough-cookie cookieJar / file path for the current collection run."
required: false
outputOriginalSummary:
description: "Whether the original summary object of the newman run should be set as output or not (type: `boolean`)"
required: false
default: "false"
outputGoogleCardV2:
description: "Whether the google cards v2 sections array should be set as output or not (type: `boolean`)"
required: false
default: "false"
outputs:
summary:
description: "A lightweight summary json object of the newman run"
originalSummary:
description: "The original summary json object of the newman run"
googleCardV2:
description: "The output, which can be used as structure for the google chat card v2"