Skip to content

Commit

Permalink
status
Browse files Browse the repository at this point in the history
  • Loading branch information
patel-bhavin committed Jul 2, 2024
1 parent 435ab4e commit 3a1f88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
echo -e "Name | Status | Test Type"
echo -e "---- | ------ | ---------"
# Loop through each item in tested_detections and print required fields with color
yq e '.tested_detections[] | .name as $name | .status as $status | .tests[].test_type as $test_type | "\($name) | \($status) | \($test_type)"' summary.yml | while read line; do
yq e '.tested_detections[] | .name as $name | .tests[].status as $status | .tests[].test_type as $test_type | "\($name) | \($status) | \($test_type)"' summary.yml | while read line; do
name=$(echo $line | cut -d '|' -f 1)
status=$(echo $line | cut -d '|' -f 2 | xargs)
test_type=$(echo $line | cut -d '|' -f 3)
Expand Down

0 comments on commit 3a1f88f

Please sign in to comment.