]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Correct usage is "gftools-qa --fontbakery --rust", not "--fontspector" (for now) 9486/head
authorSimon Cozens <simon@simon-cozens.org>
Tue, 20 May 2025 10:15:10 +0000 (11:15 +0100)
committerSimon Cozens <simon@simon-cozens.org>
Tue, 20 May 2025 10:15:10 +0000 (11:15 +0100)
.ci/run.py

index 8b09df82633e8b2a9448e02bc99b60fc889ed97a..dff06c30341cc6a0374d48eb17148b19cc01b1f9 100644 (file)
@@ -30,7 +30,7 @@ def main():
             print(f"Skipping {directory} because no fonts were found")
             continue
 
-        qa_cmd_prefix = ["gftools", "qa", "-f"] + fonts + ["-o", out]
+        qa_cmd_prefix = ["gftools", "qa", "--rust", "-f"] + fonts + ["-o", out]
         if args.pr_number:
             if not args.pr_url_body.endswith("/"):
                 args.pr_url_body += "/"
@@ -52,20 +52,20 @@ def main():
         elif check_type == CheckType.NEW_FAMILY:
             print(f"Checking new family: {directory}")
             subprocess.run(
-                qa_cmd_prefix + ["--fontspector", "--interpolations"], check=True
+                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", "--fontspector", "--diffenator", "--interpolations"],
+                + ["-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 + ["--fontspector", "-o", out], check=True)
+            subprocess.run(qa_cmd_prefix + ["--fontbakery", "-o", out], check=True)
 
         elif check_type == CheckType.DESIGNER:
             print(f"Checking designer profile: {directory}")