From 0f3342a3c339951a9289fbc1ed72c143ca582c07 Mon Sep 17 00:00:00 2001 From: ssun30 Date: Wed, 9 Oct 2024 01:14:07 -0400 Subject: [PATCH] Allow `cat` of regression diff to fail This matches a corresponding change in the CI workflow file for RMG-Py, which was introduced to account for very large differences between the dynamic and baseline test results. 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 8aa8dcf6a9..3c6a5f91b6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -208,7 +208,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 \ @@ -225,7 +225,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)