File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,15 +79,15 @@ jobs:
79
79
- name : Check Test Summary
80
80
run : |
81
81
git status
82
- total_fail=$(yq e '.summary.total_fail' summary .yml)
82
+ total_fail=$(yq e '.summary.total_fail' summary_2 .yml)
83
83
84
84
# Check if total_fail is greater than one
85
85
if [ "$total_fail" -gt 1 ]; then
86
86
echo "CI Failure: There are failed tests."
87
87
echo "Name | Status | Test Type"
88
88
echo "---- | ------ | ---------"
89
89
# Loop through each item in tested_detections and print required fields
90
- yq e '.tested_detections[] | "\(.name) | \(.success) | \(.tests[].test_type)"' summary .yml
90
+ yq e '.tested_detections[] | "\(.name) | \(.success) | \(.tests[].test_type)"' summary_2 .yml
91
91
else
92
92
echo "CI Success: No failed tests."
93
93
fi
You can’t perform that action at this time.
0 commit comments