From: Marc Foley Date: Mon, 4 Dec 2023 16:48:43 +0000 (+0000) Subject: ci: move font-tags check to seperate file X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7058%2Fhead;p=thirdparty%2Fgoogle%2Ffonts.git ci: move font-tags check to seperate file --- 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