From 90948f6b89d80ffbb093309340ede29745557641 Mon Sep 17 00:00:00 2001 From: Julien Lamy Date: Tue, 3 Oct 2023 12:07:29 +0200 Subject: [PATCH] Fix return code of post_build --- .ci/build/post_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/build/post_build.py b/.ci/build/post_build.py index de542e9..3b333ef 100644 --- a/.ci/build/post_build.py +++ b/.ci/build/post_build.py @@ -40,4 +40,4 @@ [sys.executable, "-m", "unittest", "discover", "-s", python_tests_dir], cwd=build_dir, env=environment) -sys.exit(max(cpp_tests_return_code, python_tests_return_code)) +sys.exit(cpp_tests_return_code or python_tests_return_code)