From b1444634a04dce6bff74d3a41a0336adb4ccda27 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 7b5a39c162..c6430727a1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -273,7 +273,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 \ @@ -290,7 +290,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)