File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,24 @@ jobs:
3131 # Make the script executable
3232 chmod +x run-tool-tests.sh
3333
34+ # Initialize failed tools file
35+ echo "" > /tmp/failed_tools.txt
36+
3437 # Run tests for each tool directory
3538 for tool_dir in plugins/tools/*/; do
3639 tool_name=$(basename "$tool_dir")
3740 if [ -d "$tool_dir/test/src" ]; then
3841 echo "Running tests for $tool_name..."
39- ./run-tool-tests.sh "$tool_name" || true
42+ ./run-tool-tests.sh "$tool_name" || echo "$tool_name" >> /tmp/failed_tools.txt
4043 fi
4144 done
45+
46+ # Check if any tools failed
47+ if [ -s /tmp/failed_tools.txt ]; then
48+ echo -e "\n❌ The following tools failed their tests:"
49+ cat /tmp/failed_tools.txt
50+ exit 1
51+ fi
4252
4353 - name : Check test results
4454 if : steps.run_tests.outcome == 'failure'
You can’t perform that action at this time.
0 commit comments