Skip to content

Commit 7007730

Browse files
committed
Add diagnostics to GH action
1 parent fd24897 commit 7007730

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/clang-tidy.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,42 @@ jobs:
138138
echo "Generated **$REPORT_HTML** (fail-on=warnings after suppressions).";
139139
} >> "$GITHUB_STEP_SUMMARY"
140140
141+
- name: workspace file check
142+
if: always()
143+
run: |
144+
echo "=== WORKSPACE TREE (max 4 levels) ==="
145+
find . -maxdepth 4 -type f | sort || true
146+
147+
echo ""
148+
echo "=== Checking report HTML ==="
149+
echo "REPORT_HTML = $REPORT_HTML"
150+
if [ -f "$REPORT_HTML" ]; then
151+
echo "FOUND: $REPORT_HTML"
152+
else
153+
echo "MISSING: $REPORT_HTML"
154+
fi
155+
156+
echo ""
157+
echo "=== Checking ct_counts.json ==="
158+
if [ -f ct_counts.json ]; then
159+
echo "FOUND: ct_counts.json"
160+
else
161+
echo "MISSING: ct_counts.json"
162+
fi
163+
164+
echo ""
165+
echo "=== Checking logs directory ==="
166+
if [ -d logs ]; then
167+
echo "logs/ exists"
168+
ls -al logs
169+
else
170+
echo "logs directory MISSING"
171+
fi
172+
173+
echo ""
174+
echo "=== Checking log files ==="
175+
ls logs/*.txt 2>/dev/null || echo "No log files found"
176+
141177
- name: Upload artifacts
142178
if: always()
143179
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)