You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Copy file name to clipboardExpand all lines: .github/workflows/CI.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -296,7 +296,7 @@ jobs:
296
296
export FAILED=Yes
297
297
fi
298
298
echo "" # blank line so next block is interpreted as markdown
299
-
cat "$regr_test-core.log"
299
+
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")
300
300
echo "</details>"
301
301
echo "<details>"
302
302
if python-jl scripts/checkModels.py \
@@ -313,7 +313,7 @@ jobs:
313
313
export FAILED=Yes
314
314
fi
315
315
echo "" # blank line so next block is interpreted as markdown
316
-
cat "$regr_test-edge.log"
316
+
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")
317
317
echo "</details>"
318
318
319
319
# Check for Regression between Reference and Dynamic (skip superminimal)
0 commit comments