@@ -41,17 +41,12 @@ inputs:
4141 Output generated reports in JSON format in addition to the configured format through Pester.
4242 required : false
4343 default : ' true'
44- StepSummary_Enabled :
45- description : |
46- Controls if a GitHub step summary should be shown.
47- required : false
48- default : ' true'
4944 StepSummary_ShowTestOverview :
5045 description : |
5146 Controls whether to show the test overview table in the GitHub step summary.
5247 required : false
53- default : ' true '
54- StepSummary_ShowTests :
48+ default : ' false '
49+ StepSummary_Mode :
5550 description : |
5651 Controls which tests to show in the GitHub step summary. Allows "Full", "Failed", or "None".
5752 required : false
@@ -267,7 +262,7 @@ runs:
267262 Script : ${{ github.action_path }}/scripts/main.ps1
268263
269264 - name : Invoke-Pester
270- uses : PSModule/Invoke-Pester@v3
265+ uses : PSModule/Invoke-Pester@v4
271266 id : test
272267 env :
273268 Settings : ${{ fromJson(steps.paths.outputs.result).Settings }}
@@ -282,9 +277,8 @@ runs:
282277 Path : ${{ github.action_path }}/scripts/tests/PSScriptAnalyzer
283278 Run_Path : ${{ fromJson(steps.paths.outputs.result).CodePath }}
284279 ReportAsJson : ${{ inputs.ReportAsJson }}
285- StepSummary_Enabled : ${{ inputs.StepSummary_Enabled }}
286280 StepSummary_ShowTestOverview : ${{ inputs.StepSummary_ShowTestOverview }}
287- StepSummary_ShowTests : ${{ inputs.StepSummary_ShowTests }}
281+ StepSummary_Mode : ${{ inputs.StepSummary_Mode }}
288282 StepSummary_ShowConfiguration : ${{ inputs.StepSummary_ShowConfiguration }}
289283 Run_ExcludePath : ${{ inputs.Run_ExcludePath }}
290284 Run_Exit : ${{ inputs.Run_Exit }}
0 commit comments