]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
ci: move font-tags check to seperate file 7058/head
authorMarc Foley <m.foley.88@gmail.com>
Mon, 4 Dec 2023 16:48:43 +0000 (16:48 +0000)
committerMarc Foley <m.foley.88@gmail.com>
Mon, 4 Dec 2023 17:02:31 +0000 (17:02 +0000)
.github/workflows/ci.yaml
.github/workflows/font_tags.yaml [new file with mode: 0644]

index 0aef4e26d83d4321048d2a858af8460e29411253..fc1f2af7200b047bc7b171e804878b6d1a1b3734 100644 (file)
@@ -24,7 +24,6 @@ jobs:
     - name: Lint server files
       run: |
         gftools push-status . --lint
-        gftools font-tags lint .
 
   check_knowledge_graph:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/font_tags.yaml b/.github/workflows/font_tags.yaml
new file mode 100644 (file)
index 0000000..99dcc77
--- /dev/null
@@ -0,0 +1,27 @@
+# Check font tagging spreadsheet is correctly structured
+name: Font tagging structure
+
+on:
+  push:
+    paths:
+    - 'tags/*/*'
+  pull_request:
+    paths:
+    - 'tags/*/*'
+
+jobs:
+  test_server_files:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+    - name: Set up Python
+      uses: actions/setup-python@v4
+      with:
+        python-version: "3.10"
+
+    # Check font tags data is correct
+    - name: Install gftools
+      run: pip install gftools[qa]
+    - name: Test font tagging spreadsheet
+      run: |
+        gftools font-tags lint .
\ No newline at end of file