Skip to content

Commit

Permalink
add GH action (that will fail)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-24 committed Apr 22, 2024
1 parent c27f576 commit 26c110e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 50 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Run tests

env:
TEMPLATEDIR: $HOME/.texlive/texmf-local/tex/latex/latex-template

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
run: |
sudo apt-get install imagemagick librsvg2-bin
pip install Pygments
- name: Install LaTeX
run: |
./scripts/install_font.sh
./scripts/install_texlive.sh
- name: Test Lua
run: |
export PATH=$HOME/.texlive/bin/x86_64-linux:$PATH
cd tests
make lua-test
- name: Test LaTeX
run: |
export PATH=$HOME/.texlive/bin/x86_64-linux:$PATH
mkdir -p ${TEMPLATEDIR} && cp -r . ${TEMPLATEDIR} && texhash
make tests
45 changes: 0 additions & 45 deletions .travis.yml

This file was deleted.

5 changes: 0 additions & 5 deletions tobi.txt

This file was deleted.

0 comments on commit 26c110e

Please sign in to comment.