File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,9 @@ jobs:
121121
122122 $skipTests = $env:PSMODULE_GET_TESTSUITES_INPUT_SkipTests -Split ",|\s+" | ForEach-Object { $_.Trim() }
123123
124- Write-Host "The following tests will be skipped:"
125- $skipTests | ForEach-Object { " - $_ " }
124+ LogGroup 'Tests to be skipped:' {
125+ $skipTests | ForEach-Object { " - $_ " }
126+ }
126127
127128 $testSuites = foreach ($folder in $allTestFolders) {
128129 $testItems = Get-TestItemsFromFolder -FolderPath $folder
@@ -151,10 +152,12 @@ jobs:
151152 } | Select-Object -Property RunsOn, OSName -Unique
152153
153154 # Display the generated matrices for verification.
154- Write-Host "Source Code Test Suites:"
155- $sourceCodeTestSuites | Format-Table -AutoSize | Out-String
156- Write-Host "Module Test Suites:"
157- $testSuites | Format-Table -AutoSize | Out-String
155+ LogGroup 'Source Code Test Suites:' {
156+ $sourceCodeTestSuites | Format-Table -AutoSize | Out-String
157+ }
158+ LogGroup 'Module Test Suites:' {
159+ $testSuites | Format-Table -AutoSize | Out-String
160+ }
158161
159162 # Pass the final objects to GitHub Actions output.
160163 Set-GitHubOutput -Name SourceCodeTestSuites -Value $sourceCodeTestSuites
You can’t perform that action at this time.
0 commit comments