Skip to content

Commit c8e8c11

Browse files
committed
Install extra TeX packages on one runner only
The DejaVu and Heuristica fonts are used by the type-1 font subsetting tests. Heuristica has a Cyrillic encoding and apparently cannot be loaded without installing texlive-lang-cyrillic.
1 parent 8abab03 commit c8e8c11

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ jobs:
6464
python-version: '3.12'
6565
# https://github.com/matplotlib/matplotlib/issues/29844
6666
pygobject-ver: '<3.52.0'
67-
- os: ubuntu-22.04
67+
- name-suffix: "(Extra TeX packages)"
68+
os: ubuntu-22.04
6869
python-version: '3.13'
70+
extra-packages: 'texlive-fonts-extra texlive-latex-extra texlive-lang-cyrillic'
6971
# https://github.com/matplotlib/matplotlib/issues/29844
7072
pygobject-ver: '<3.52.0'
7173
- name-suffix: "Free-threaded"
@@ -138,11 +140,11 @@ jobs:
138140
qtbase5-dev \
139141
texlive-fonts-recommended \
140142
texlive-latex-base \
141-
texlive-latex-extra \
142143
texlive-latex-recommended \
143144
texlive-luatex \
144145
texlive-pictures \
145-
texlive-xetex
146+
texlive-xetex \
147+
"${{ matrix.extra-packages }}"
146148
if [[ "${{ matrix.name-suffix }}" != '(Minimum Versions)' ]]; then
147149
sudo apt-get install -yy --no-install-recommends ffmpeg poppler-utils
148150
fi

0 commit comments

Comments
 (0)