-
Notifications
You must be signed in to change notification settings - Fork 450
42 lines (34 loc) · 867 Bytes
/
test.yml
File metadata and controls
42 lines (34 loc) · 867 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up TeX Live
uses: zauguin/install-texlive@v4
with:
package_file: .github/tl_packages
- name: Test example
run: make main
- name: Test example with LuaTeX
run: |
make clean
latexmk -lualatex main.tex
- name: Test doc
run: make doc
- name: Run regression tests
run: make test
- name: Archive failed test output
if: ${{ failure() }}
uses: actions/upload-artifact@v7
with:
name: testfiles
path: build/**/*.diff
retention-days: 3