Skip to content

Commit

Permalink
ci-merger
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Dec 22, 2024
1 parent cf93ff2 commit 50e8ad3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,14 @@ jobs:
jq -sc '
(map(.operations) | add | unique | length) as $total_operations_count |
(map(.evaluated_operations) | add | unique | length) as $evaluated_operations_count |
{
{
total_operations_count: $total_operations_count,
evaluated_operations_count: $evaluated_operations_count,
evaluated_paths_pct: $evaluated_operations_count | (10000 * . / $total_operations_count | round / 100)
evaluated_paths_pct: (
$evaluated_operations_count | (10000 * . / $total_operations_count | round / 100)
),
operations_list: (map(.operations) | add | unique),
evaluated_operations_list: (map(.evaluated_operations) | add | unique)
}
' $(find ./coverage -name "test-spec-coverage-*.json") > ./coverage/coverage.json
cat ./coverage/coverage.json
Expand Down

0 comments on commit 50e8ad3

Please sign in to comment.