]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Catch and propagate error code of fontbakery runs 7200/head
authorSimon Cozens <simon@simon-cozens.org>
Thu, 18 Jan 2024 21:08:03 +0000 (21:08 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 18 Jan 2024 21:08:03 +0000 (21:08 +0000)
.ci/run.py

index bc4f8961cc267966823ec0545ab7005a5e5ad7dd..e0e15b3f226213908306dbd1bcf2615e07875eb5 100644 (file)
@@ -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}")