Skip to content

Commit 28b67dd

Browse files
committed
Find the files!
1 parent c5d65fd commit 28b67dd

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/static_analysis_and_tests.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,22 @@ jobs:
5454
with:
5555
path: .
5656
- name: List coverage files
57-
run: ls -l coverage-lcov-*.info || echo "No coverage files found"
57+
run: |
58+
echo "Looking for coverage files in downloaded artifacts..."
59+
find . -name "*.info" -type f | head -20
60+
echo "---"
61+
ls -la coverage-lcov-*/ || echo "No coverage directories found"
5862
- name: Show coverage files content
5963
run: |
60-
for f in coverage-lcov-*.info; do
61-
echo "\n==== $f ===="
62-
cat "$f"
64+
for dir in coverage-lcov-*/; do
65+
if [ -d "$dir" ]; then
66+
echo "==== Contents of $dir ===="
67+
ls -la "$dir"
68+
for f in "$dir"*.info; do
69+
if [ -f "$f" ]; then
70+
echo "==== $f ===="
71+
cat "$f"
72+
fi
73+
done
74+
fi
6375
done || echo "No coverage files to show"

0 commit comments

Comments
 (0)