action-surefire-report/action.yml

32 lines
833 B
YAML
Raw Permalink Normal View History

2020-05-11 20:32:03 +08:00
name: 'Surefire Report'
2020-05-29 18:01:21 +08:00
description: 'Report Surefire test results as annotations on Github Pull Request [junit, failsafe]'
2020-05-11 20:32:03 +08:00
branding:
2020-09-25 18:18:40 +08:00
icon: 'check-square'
color: 'green'
2020-05-11 20:32:03 +08:00
inputs:
2020-09-25 18:18:40 +08:00
github_token:
description: 'GITHUB_TOKEN'
required: true
report_paths:
description: 'surefire xml report paths in glob format'
required: false
default: '**/surefire-reports/TEST-*.xml'
check_name:
description: 'check name for test reports'
required: false
default: 'Test Report'
commit:
description: 'commit sha to update the status'
required: false
fail_on_failure:
description: 'fail run if there were test failures'
required: false
default: 'false'
outputs:
2020-09-25 18:18:40 +08:00
outcome:
description: 'the test outcome, either `success` or `failure`'
2020-05-11 20:32:03 +08:00
runs:
2020-09-25 18:18:40 +08:00
using: 'node12'
main: 'dist/index.js'