From 67fc277c5962068100f351ddc674fa3c34395c53 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 18 Jan 2024 21:08:03 +0000 Subject: [PATCH] Catch and propagate error code of fontbakery runs --- .ci/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/run.py b/.ci/run.py index bc4f8961cc..e0e15b3f22 100644 --- a/.ci/run.py +++ b/.ci/run.py @@ -123,15 +123,15 @@ def main(): elif check_type == CheckType.NEW_FAMILY: print(f"Checking new family: {directory}") - subprocess.run(qa_cmd_prefix + ["--fontbakery", "--interpolations"]) + subprocess.run(qa_cmd_prefix + ["--fontbakery", "--interpolations"], check=True) elif check_type == CheckType.MODIFIED_FAMILY: print(f"Checking modified family: {directory}") - subprocess.run(qa_cmd_prefix + ["-gfb", "--fontbakery", "--diffenator", "--interpolations"]) + subprocess.run(qa_cmd_prefix + ["-gfb", "--fontbakery", "--diffenator", "--interpolations"], check=True) elif check_type == CheckType.MODIFIED_FAMILY_METADATA: print(f"Checking modified family metadata: {directory}") - subprocess.run(qa_cmd_prefix + ["--fontbakery", "-o", out]) + subprocess.run(qa_cmd_prefix + ["--fontbakery", "-o", out], check=True) elif check_type == CheckType.DESIGNER: print(f"Checking designer profile: {directory}") -- 2.47.2