Updated Bots (markdown)

Tim van der Meij 2021-05-28 21:25:25 +02:00
parent 33da82fbf1
commit 4ae1820dd6

@ -3,19 +3,20 @@ PDF.js maintains two bots that perform various tasks for pull requests. The bots
Tasks
-----
While we use Travis CI for linting (and running a selection of unit tests), we use the bots for all other tasks like generating a preview for a pull request and running unit, font and reference tests. The available bot commands are listed below.
While we use GitHub Actions for linting and running (a selection of) unit tests, we use the bots for all other tasks like generating a preview for a pull request and running all unit, font, integration and reference tests. The available bot commands are:
- `preview` (generates a preview build for the pull request)
- `lint` (runs the linting tool)
- `unittest` (runs the unit tests)
- `fonttest` (runs the font tests)
- `test` (runs all tests, i.e., the unit tests, font tests and reference tests)
- `integrationtest` (runs the integration tests)
- `test` (runs all tests, i.e., the unit tests, font tests, integration tests and reference tests)
- `makeref` (generates new reference images for the reference tests, for instance when a pull request changes the rendering of some PDFs)
Characteristics
---------------
We have a Linux and a Windows bot. The Linux bot runs Ubuntu 12.04.4 LTS with Xvfb, whereas the Windows bot runs Windows Server Datacenter 2016. The Linux bot has a few additional font packages to improve font rendering:
PDF.js uses a Linux and a Windows bot. The Linux bot runs Ubuntu 12.04.4 LTS with Xvfb, whereas the Windows bot runs Windows Server Datacenter 2016. The Linux bot has a few additional font packages to improve font rendering:
- `latex-cjk-all`
- `xfonts-wqy`