Skip to content

Test Github Action

Test Github Action #53

Workflow file for this run

name: Test Github Action
on:
push:
schedule:
- cron: '0 0 1 * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v1
- name: Compile basic LaTeX document
uses: ./
with:
root_file: test.tex
working_directory: test/
- name: Compile basic LaTeX document with lualatex
uses: ./
with:
root_file: test.tex
working_directory: test/
compiler: lualatex
args: -file-line-error -interaction=nonstopmode
- name: Compile LaTeX document with math symbols
uses: ./
with:
root_file: math.tex
working_directory: test/
- name: Compile LaTeX document with biblatex/biber
uses: ./
with:
root_file: biblatex.tex
working_directory: test/
extra_packages: biblatex-ieee
- name: Compile LaTeX document with minted
uses: ./
with:
root_file: minted.tex
working_directory: test/
extra_system_packages: python3-pygments
args: "-pdf -latexoption=-shell-escape -latexoption=-file-line-error -latexoption=-interaction=nonstopmode"
- name: Check pdf files
run: |
set -e
file test/test.pdf | grep -q ' PDF '
file test/math.pdf | grep -q ' PDF '
file test/biblatex.pdf | grep -q ' PDF '
file test/minted.pdf | grep -q ' PDF '