File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 required : false
4545 default : ' '
4646 type : string
47+ merge-input-dialect :
48+ description : ' JUnit dialect used to load and parse inputs for merging.'
49+ required : false
50+ default : ' pyTest-JUnit'
51+ type : string
52+ merge-output-dialect :
53+ description : ' JUnit dialect used for writing the merged report.'
54+ required : false
55+ default : ' pyTest-JUnit'
56+ type : string
4757 additional_merge_args :
4858 description : ' Additional merging arguments.'
4959 required : false
@@ -116,7 +126,10 @@ jobs:
116126
117127 - name : 🔁 Merge JUnit Unit Test Summaries
118128 run : |
119- pyedaa-reports -v unittest "--name=${{ inputs.testsuite-summary-name }}" "--merge=pyTest-JUnit:junit/*.xml" ${{ inputs.additional_merge_args }} "--output=pyTest-JUnit:${{ inputs.merged_junit_filename }}"
129+ if [[ -n "${{ inputs.testsuite-summary-name }}" ]]; then
130+ name="\"--name=${{ inputs.testsuite-summary-name }}\""
131+ fi
132+ pyedaa-reports -v unittest $name "--merge=${{ inputs.merge-input-dialect }}:junit/*.xml" ${{ inputs.additional_merge_args }} "--output=${{ inputs.merge-output-dialect }}:${{ inputs.merged_junit_filename }}"
120133 printf "%s\n" "cat ${{ inputs.merged_junit_filename }}"
121134 cat ${{ inputs.merged_junit_filename }}
122135
You can’t perform that action at this time.
0 commit comments