Update test files #308
This file contains hidden or 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 | |
| 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@v5 | |
| with: | |
| name: testfiles | |
| path: build/**/*.diff | |
| retention-days: 3 |