Skip to content

Commit cb399cf

Browse files
committed
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: ReactionMechanismGenerator/RMG-Py#2316 (comment)
1 parent 8e123fb commit cb399cf

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
@@ -208,7 +208,7 @@ jobs:
208208
export FAILED=Yes
209209
fi
210210
echo "" # blank line so next block is interpreted as markdown
211-
cat "$regr_test-core.log"
211+
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")
212212
echo "</details>"
213213
echo "<details>"
214214
if python-jl scripts/checkModels.py \
@@ -225,7 +225,7 @@ jobs:
225225
export FAILED=Yes
226226
fi
227227
echo "" # blank line so next block is interpreted as markdown
228-
cat "$regr_test-edge.log"
228+
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")
229229
echo "</details>"
230230
231231
# Check for Regression between Reference and Dynamic (skip superminimal)

0 commit comments

Comments
 (0)