From e745172d4bc9b0ca59043e6efbdcee342331455f Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Mon, 4 Dec 2023 16:48:43 +0000 Subject: [PATCH] ci: move font-tags check to seperate file --- .github/workflows/ci.yaml | 1 - .github/workflows/font_tags.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/font_tags.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0aef4e26d8..fc1f2af720 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 index 0000000000..99dcc7719c --- /dev/null +++ b/.github/workflows/font_tags.yaml @@ -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 -- 2.47.2