-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
32 lines (31 loc) · 1004 Bytes
/
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
# action.yml
name: 'JUNIT Test Report Tool'
description: 'Generates annotations from the JUNIT XML output.'
runs:
using: 'composite'
steps:
- name: Checkout Code
uses: actions/checkout@v1
- run: ${{ github.action_path }}/scripts/javatest.sh
shell: bash
env:
ACTION_PATH: ${{ github.action_path }}
INPUT_SOURCE: ${{ inputs.source_dir }}
INPUT_JUNIT: ${{ inputs.junit_dir }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v2
with:
report_paths: '**/reports/TEST-*.xml'
fail_on_failure: true
require_tests: true
summary: 'JUnit test results are here.'
inputs:
source_dir:
description: '[Path] The location of the folder(s) containing your code files'
required: true
junit_dir:
description: '[Path] The location of the folder containing your junit, this should not be set unless you provide your own version'
required: false
branding:
icon: 'book'
color: 'blue'