Skip to content

Commit d8153fe

Browse files
committed
ci: improve test output visibility
Capture and display full script output in checksum verification tests to help diagnose failures. This makes it easier to debug issues when tests fail in CI.
1 parent f19053c commit d8153fe

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/test-install-scripts.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,11 @@ jobs:
130130
export CLAUDE_PLUGIN_ROOT="${TEMP_DIR}"
131131
132132
echo "Testing checksum verification..."
133-
bash .claude-plugin/install-binary.sh --version 2>&1 | grep -q "Verifying checksum"
133+
OUTPUT=$(bash .claude-plugin/install-binary.sh --version 2>&1)
134+
echo "Script output:"
135+
echo "$OUTPUT"
134136
135-
if [ $? -eq 0 ]; then
137+
if echo "$OUTPUT" | grep -q "Verifying checksum"; then
136138
echo "✓ Checksum verification executed"
137139
else
138140
echo "Error: Checksum verification not executed"
@@ -150,9 +152,11 @@ jobs:
150152
export CLAUDE_PLUGIN_ROOT="${TEMP_DIR}"
151153
152154
echo "Testing checksum verification..."
153-
node .claude-plugin/install-binary.mjs --version 2>&1 | grep -q "Checksum verified"
155+
OUTPUT=$(node .claude-plugin/install-binary.mjs --version 2>&1)
156+
echo "Script output:"
157+
echo "$OUTPUT"
154158
155-
if [ $? -eq 0 ]; then
159+
if echo "$OUTPUT" | grep -q "Checksum verified"; then
156160
echo "✓ Checksum verification executed"
157161
else
158162
echo "Error: Checksum verification not executed"

0 commit comments

Comments
 (0)