Skip to content

Update workflow - and try to keep actions updated #57

Update workflow - and try to keep actions updated

Update workflow - and try to keep actions updated #57

Workflow file for this run

name: Test Github Action
on:
push:
schedule:
- cron: '0 0 1 * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2
- 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 '