Skip to content

Commit

Permalink
testmodelrun: Actually exit with an error code if it fails
Browse files Browse the repository at this point in the history
That was the reason why the broken model slipped through CI
  • Loading branch information
Hofer-Julian committed Apr 18, 2024
1 parent 27b8c44 commit 065e255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/testmodelrun.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function main(ARGS)
if n_fail > 0
println("Failed models:")
foreach(println, failed)
error("Model run failed")
end
end

Expand Down

0 comments on commit 065e255

Please sign in to comment.