Skip to content

Commit 3307562

Browse files
committed
Improve test result parsing by excluding DEBUG, INFO, and ERROR logs from counts
1 parent a50113a commit 3307562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ jobs:
109109
110110
# Check if tests functionally passed (look for PASSED status)
111111
cat test_output.txt
112-
passed_count=$(grep -o "PASSED" test_output.txt | wc -l)
113-
failed_count=$(grep -o "FAILED" test_output.txt | wc -l)
112+
passed_count=$(grep "PASSED" test_output.txt | grep -v "DEBUG\|INFO" | wc -l)
113+
failed_count=$(grep "FAILED" test_output.txt | grep -v "DEBUG\|INFO\|ERROR" | wc -l)
114114
115115
echo "Test Results Summary:"
116116
echo "- Passed: $passed_count"

0 commit comments

Comments
 (0)