Skip to content

Commit

Permalink
Added sorting by assembly type
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrostruk committed Oct 19, 2024
1 parent 23360d2 commit 0569681
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/check-coverage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ foreach ($assembly in $jsonContent.coverage.assemblies) {
}
}

$assemblyTableData | Format-Table -AutoSize
$sortedTable = $assemblyTableData | Sort-Object {
$nonExperimentalAssemblies -contains $_.'Assembly Name'
}

$sortedTable | Format-Table -AutoSize

if ($coverageBelowThreshold) {
Write-Host "Code coverage is lower than defined threshold: $CoverageThreshold. Stopping the task."
Expand Down

0 comments on commit 0569681

Please sign in to comment.