Skip to content

Commit 0b21255

Browse files
committed
allow cat of regression diff to fail, print a warning instead
this will allow the regression test results to all be reported even if there is such a huge difference between the dynamic and baseline that the system utilities cannot print it see: #2316 (comment)
1 parent c6fa7b9 commit 0b21255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ jobs:
263263
export FAILED=Yes
264264
fi
265265
echo "" # blank line so next block is interpreted as markdown
266-
cat "$regr_test-core.log"
266+
cat "$regr_test-core.log" || (echo "Dumping the whole log failed, please download it from GitHub actions. Here are the first 100 lines:" && head -n100 "$regr_test-core.log")
267267
echo "</details>"
268268
echo "<details>"
269269
if python scripts/checkModels.py \
@@ -280,7 +280,7 @@ jobs:
280280
export FAILED=Yes
281281
fi
282282
echo "" # blank line so next block is interpreted as markdown
283-
cat "$regr_test-edge.log"
283+
cat "$regr_test-edge.log" || (echo "Dumping the whole log failed, please download it from GitHub actions. Here are the first 100 lines:" && head -n100 "$regr_test-core.log")
284284
echo "</details>"
285285
286286
# Check for Regression between Reference and Dynamic (skip superminimal)

0 commit comments

Comments
 (0)