Skip to content

Commit 1184ce0

Browse files
🩹 [Refactor]: Add logging for TestResults files and change output format for test cases in workflow script
1 parent cd087a5 commit 1184ce0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎.github/workflows/workflow.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ jobs:
206206
$runId = $env:GITHUB_RUN_ID
207207
gh run download $runId --repo $repo --pattern *-TestResults
208208
$files = Get-ChildItem -Path . -Recurse -File
209+
210+
LogGroup "List TestResults files" {
211+
$files.Name | Out-String
212+
}
209213
$files | Format-Table -AutoSize | Out-String
210214
211215
$allCases = [System.Collections.Generic.List[psobject]]::new()
@@ -229,7 +233,7 @@ jobs:
229233
}
230234
}
231235
$cases | ForEach-Object { $allCases.Add($_) }
232-
$cases | Format-Table -AutoSize | Out-String
236+
$cases | Format-List | Out-String
233237
}
234238
}
235239

0 commit comments

Comments
 (0)