-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add GH action (that will fail) * caching * star * at least one successful test to create cache * add extra packages * non mais ...OH! * fix all other tests * exemple of complex tables * parbox in Quotation (fix #141) * use new member URL (fix #136) * no more bsc on authors (fix #100) * correct iframe color * I indeed forgot to texlua
- Loading branch information
Showing
12 changed files
with
160 additions
and
134 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Run tests | ||
|
||
env: | ||
TEXMFDIR: ${HOME}/.texlive/texmf-local/tex/latex/ | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- 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: Use cache | ||
id: cache-install | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.texlive | ||
key: texlive | ||
- name: Set up TeXLive | ||
run: | | ||
./scripts/install_font.sh | ||
./scripts/install_texlive.sh | ||
echo "PATH=${HOME}/.texlive/bin/x86_64-linux:$PATH" >> $GITHUB_ENV | ||
- name: Set up template | ||
run: | | ||
mkdir -p ${{ env.TEXMFDIR }} | ||
ln -s ${PWD} ${{ env.TEXMFDIR }}/latex-template | ||
texhash | ||
- name: Test Lua | ||
run: | | ||
cd tests | ||
make lua-test | ||
- name: Test LaTeX | ||
run: | | ||
cd tests | ||
make simple-test | ||
make author-test | ||
make images-test | ||
make nocolor-test | ||
make big-test | ||
make big-toc-test | ||
- name: Remove template from TeXLive before caching | ||
run: | | ||
rm ${{ env.TEXMFDIR }}/latex-template | ||
texhash |
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,5 @@ xfor | |
xifthen | ||
xpatch | ||
xstring | ||
tabularray | ||
ninecolors |
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.