generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (41 loc) · 1.95 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
name: 'Handle the results of TestNG'
description: 'Read the XML results from TestNG, set some informational statuses and archive the results.'
author: 'UWHealth'
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
token:
required: true
description: The token provided by GitHub actions via secrets.GITHUB_TOKEN
testng_results:
description: 'Path relative to the root for the TestNG results'
default: 'testng-results.xml'
required: true
status_url:
description: 'URL to display alongside the Github Commit Status'
required: false
status_label:
description: 'Custom label for the Github Commit Status'
default: End-Test Results
required: false
skipped_threshold_number:
description: 'The number of skipped tests in simple numeric form (example: 20) above which indicates failure. If nothing is supplied ANY skipped test indicates failure. Takes presidenc over skipped_threshold_percent'
default: '0'
required: false
skipped_threshold_percent:
description: 'The percentage of skipped tests in simple numeric form with % symbol (example: 10%) above which indicates failure. If nothing is supplied ANY skipped test indicates failure'
default: '0'
required: false
failed_threshold_number:
description: 'The number of failed tests in simple numeric form (example: 20) above which indicates failure. If nothing is supplied ANY failed test indicates failure. Takes presidence over failed_threshold_percent'
default: '0'
required: false
failed_threshold_percent:
description: 'The percentage of failed tests in simple numeric form with % symbol (example: 10%) above which indicates failure. If nothing is supplied ANY failed test indicates failure'
default: '0'
required: false
skip_gihub_status_update:
description: 'Skip the github status update that include the TestNG results. Only string value of "true" will disable. Useful during testing.'
required: false
default: 'false'