Skip to content

Commit 1ba1901

Browse files
committed
[PLUTO-1411] Add script
1 parent e0f6395 commit 1ba1901

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/it-test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)