pdf.js/.github
Tim van der Meij 8157f39c62
Introduce a GitHub Actions workflow for running the font tests
This commit migrates the font tests away from the bots. Not only are the
font tests broken on the Windows bot since some time, they also run on
Python 2 (end of life since January 2020) and `ttx` 3.19.0 (released in
November 2017). The latter is installed via a submodule, which requires
more complicated logic for finding and running `ttx`.

We solve the issues by implementing a modern workflow that installs the
most recent stable Python and `ttx` (`fonttools` package) versions. This
simplifies the `ttx` driver code as well because it can now assume `ttx`
is available on the path (just like we do for e.g. `node` invocations).
GitHub Actions takes care of creating a virtual environment with
`fonttools` in it so that the `ttx`  entrypoint is available. Locally
the font tests can be run in a similar way by creating and sourcing a
virtual environment with `fonttools` in it before running the font
tests, and a README file is included with instructions for doing so.
2023-11-12 17:48:04 +01:00
..
workflows Introduce a GitHub Actions workflow for running the font tests 2023-11-12 17:48:04 +01:00
CODEOWNERS [api-minor] Move to Fluent for the localization (bug 1858715) 2023-10-19 11:20:41 +02:00
CONTRIBUTING.md Update links from IRC to Matrix. 2020-02-27 16:26:17 -08:00
dependabot.yml Stop Dependabot from creating its own, otherwise unused, labels 2022-11-14 15:07:55 +01:00
fluent_linter_config.yml Add workflow to lint Fluent en-US files 2023-10-26 17:27:42 +02:00
ISSUE_TEMPLATE.md Attempt to clarify the meaning of "extension" in the ISSUE_TEMPLATE 2017-10-21 11:32:03 +02:00
requirements.txt Add workflow to lint Fluent en-US files 2023-10-26 17:27:42 +02:00