-
-
Notifications
You must be signed in to change notification settings - Fork 9
28 lines (28 loc) · 840 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 '