Merge pull request #270 from IACR/reviseTemplate #96
This file contains 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 of iacrcc LaTeX class. | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
latex_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install texlive | |
uses: teatimeguest/setup-texlive-action@v3 | |
with: | |
version: 2023 | |
packages: | | |
scheme-basic | |
filehook | |
currfile | |
l3experimental | |
cleveref | |
xkeyval | |
etoolbox | |
xstring | |
iftex | |
luatex85 | |
fontspec | |
pdfmanagement-testphase | |
hyperref | |
totpages | |
geometry | |
sectsty | |
pgf | |
xpatch | |
alphalph | |
tokcycle | |
listofitems | |
fancyhdr | |
csquotes | |
biblatex | |
biblatex-trad | |
biber | |
doclicense | |
fancyvrb | |
mathtools | |
floatrow | |
caption | |
float | |
lineno | |
microtype | |
lipsum | |
latexmk | |
xifthen | |
ccicons | |
kvoptions | |
ragged2e | |
ifmtarg | |
babel | |
urlbst | |
everyshi | |
tagpdf | |
xurl | |
- name: Check `tlmgr` version | |
run: tlmgr --version | |
- name: Update all packages | |
run: tlmgr update --all | |
- name: Install dependencies | |
working-directory: iacrcc/tests | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest pdfplumber python-xmp-toolkit nameparser xmp pylatexenc pypdf | |
- name: Test for compile_tests.py | |
working-directory: iacrcc/tests | |
run: | | |
pytest -vv compile_tests.py |