fix: fix CI test on historical version of TeXLive #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Github Action | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
texlive_version: [2022, 2023, latest] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v4 | |
- name: Test Action | |
uses: ./ | |
with: | |
scheme: small | |
texlive_version: ${{ matrix.texlive_version }} | |
run: | | |
apk add make | |
VERSION="${{ matrix.texlive_version }}" | |
if [[ "$VERSION" != latest ]]; then | |
tlmgr option repository "https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/$VERSION/tlnet-final" | |
fi | |
tlmgr install blindtext | |
cd test && make | |
- name: Check pdf files | |
run: | | |
file test/test.pdf | grep -q ' PDF ' |