We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f6395 commit 1ba1901Copy full SHA for 1ba1901
1 file changed
.github/workflows/it-test.yml
@@ -31,14 +31,24 @@ jobs:
31
# Make the script executable
32
chmod +x run-tool-tests.sh
33
34
+ # Initialize failed tools file
35
+ echo "" > /tmp/failed_tools.txt
36
+
37
# Run tests for each tool directory
38
for tool_dir in plugins/tools/*/; do
39
tool_name=$(basename "$tool_dir")
40
if [ -d "$tool_dir/test/src" ]; then
41
echo "Running tests for $tool_name..."
- ./run-tool-tests.sh "$tool_name" || true
42
+ ./run-tool-tests.sh "$tool_name" || echo "$tool_name" >> /tmp/failed_tools.txt
43
fi
44
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
52
53
- name: Check test results
54
if: steps.run_tests.outcome == 'failure'
0 commit comments