From: Simon Cozens Date: Thu, 18 Jan 2024 21:08:03 +0000 (+0000) Subject: Catch and propagate error code of fontbakery runs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7200%2Fhead;p=thirdparty%2Fgoogle%2Ffonts.git Catch and propagate error code of fontbakery runs --- 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}")