From f7039b88ba80c18fabd9b8a2158dc076caa64205 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Thu, 18 Apr 2024 11:37:54 +0200 Subject: [PATCH] testmodelrun: Actually exit with an error code if it fails (#1405) That was the reason why the broken model slipped through CI --- utils/testmodelrun.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/testmodelrun.jl b/utils/testmodelrun.jl index 9862829f8..6cefde49e 100644 --- a/utils/testmodelrun.jl +++ b/utils/testmodelrun.jl @@ -27,6 +27,7 @@ function main(ARGS) if n_fail > 0 println("Failed models:") foreach(println, failed) + error("Model run failed") end end