From 59655c42d2d8736a93a808f93b67bc48ee5b6734 Mon Sep 17 00:00:00 2001 From: Jackson Burns <33505528+JacksonBurns@users.noreply.github.com> Date: Fri, 28 Jul 2023 13:50:46 -0400 Subject: [PATCH] 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: https://github.com/ReactionMechanismGenerator/RMG-Py/pull/2316#issuecomment-1654884245 --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ded6d65b51..61a9d8f8a1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -272,7 +272,7 @@ jobs: export FAILED=Yes fi echo "" # blank line so next block is interpreted as markdown - cat "$regr_test-core.log" + 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") echo "" echo "
" if python-jl scripts/checkModels.py \ @@ -289,7 +289,7 @@ jobs: export FAILED=Yes fi echo "" # blank line so next block is interpreted as markdown - cat "$regr_test-edge.log" + 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") echo "
" # Check for Regression between Reference and Dynamic (skip superminimal)