Skip to content

Commit cba2990

Browse files
🩹 [Refactor]: Improve file listing and logging in workflow script for better visibility of code coverage artifacts
1 parent 2508f84 commit cba2990

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎.github/workflows/workflow.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,14 @@ jobs:
205205
$repo = $env:GITHUB_REPOSITORY
206206
$runId = $env:GITHUB_RUN_ID
207207
gh run download $runId --repo $repo --pattern *CodeCoverage --dir .
208-
Get-ChildItem -Path . -Recurse | Select-Object -ExpandProperty FullName | Sort-Object
208+
$files = Get-ChildItem -Path . -Recurse -File | Select-Object -ExpandProperty FullName | Sort-Object
209+
$files | Out-String
210+
$files | ForEach-Object {
211+
$fileName = $_.Name
212+
LogGroup " - $fileName" {
213+
Show-FileContent -Path $_
214+
}
215+
}
209216
210217
# TestModuleStatus:
211218
# name: Test module status

0 commit comments

Comments
 (0)