generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 16
/
action.yml
31 lines (31 loc) · 1.18 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
name: 'trx-parser'
description: 'An action to parse trx reports from a given path and use GitHub status check api to fail PRs'
author: 'Nasir Amin'
branding:
icon: 'info'
color: 'green'
inputs:
TRX_PATH:
description: 'Path to the directory containing trx files'
required: true
REPO_TOKEN:
description: 'Pass in the repository token. This should be generally be secrets.GITHUB_TOKEN. This is used for GitHub checks api'
required: true
IGNORE_FAILURE:
description: 'Set to true if you want test failures not to block the pull requests. The check status will be set to neutral'
required: false
default: 'false'
SHA:
description: 'SHA value to use. If not set then will be calculated based on context'
required: false
REPORT_PREFIX:
description: 'A string value to use as a prefix on the generated report name. This is useful when you are using this action in multiple workflows and desire unique names'
required: false
outputs:
test-outcome:
description: 'Test outcome Failed/Passed'
trx-files:
description: 'list of trx files'
runs:
using: 'node20'
main: 'dist/index.js'