Skip to content

Commit 1ed8ed1

Browse files
committed
remove summary output
1 parent f76a79e commit 1ed8ed1

1 file changed

Lines changed: 1 addition & 39 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -74,45 +74,7 @@ jobs:
7474
retention-days: 7
7575

7676
#--------------------------------------------------------------
77-
# 6. Append a small inline gallery to the workflow summary
78-
#--------------------------------------------------------------
79-
- name: Embed PNG preview in summary
80-
if: always()
81-
shell: bash
82-
run: |
83-
set +e # don't exit on first non-zero
84-
shopt -s globstar nullglob # enable ** and ignore empty globs
85-
86-
echo "## Preprocessing sample" >> "$GITHUB_STEP_SUMMARY"
87-
imgs=(data/preprocessing/**/*.png data/preprocessing/**/*.jpg)
88-
if [ ${#imgs[@]} -eq 0 ]; then
89-
echo "_No images produced in preprocessing._" >> "$GITHUB_STEP_SUMMARY"
90-
else
91-
cnt=0
92-
for img in "${imgs[@]}"; do
93-
b64=$(base64 -w0 "$img")
94-
echo "<img src=\"data:image/png;base64,$b64\" height=\"150\"/>" \
95-
>> "$GITHUB_STEP_SUMMARY"
96-
((cnt++ == 1)) && break
97-
done
98-
fi
99-
100-
echo "" >> "$GITHUB_STEP_SUMMARY"
101-
echo "## Inference sample" >> "$GITHUB_STEP_SUMMARY"
102-
imgs=(data/inference/**/*.png data/inference/**/*.jpg)
103-
if [ ${#imgs[@]} -eq 0 ]; then
104-
echo "_No images produced in inference._" >> "$GITHUB_STEP_SUMMARY"
105-
else
106-
cnt=0
107-
for img in "${imgs[@]}"; do
108-
b64=$(base64 -w0 "$img")
109-
echo "<img src=\"data:image/png;base64,$b64\" height=\"150\"/>" \
110-
>> "$GITHUB_STEP_SUMMARY"
111-
((cnt++ == 1)) && break
112-
done
113-
fi
114-
#--------------------------------------------------------------
115-
# 7. Tear down containers & volumes (always runs)
77+
# 6. Tear down containers & volumes (always runs)
11678
#--------------------------------------------------------------
11779
- name: Teardown
11880
if: always()

0 commit comments

Comments
 (0)