Enhance @inbook format (tuna/thuthesis#930) #121
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: Automated testing | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
# Boilerplate | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Generate unique ID | |
id: get-id | |
run: | | |
echo "id=$(cat /proc/sys/kernel/random/uuid)" >> $GITHUB_OUTPUT | |
# Actually load the cache. Since we never reuse the key, we need restore-keys | |
# to indicate the prefix of our caches. This loads the newest cache with this | |
# prefix in the key. | |
# | |
# If we want to force regeneration of the cache, increase the number after | |
# *both* instances of "texlive-v" | |
- name: Load cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/texlive | |
key: texlive-v1-${{ steps.get-id.outputs.id }} | |
restore-keys: texlive-v1- | |
# We need Ghostscript for XeTeX tests. | |
- run: sudo apt-get update && sudo apt-get install ghostscript | |
- name: Install TeX Live | |
uses: zauguin/install-texlive@v1 | |
with: | |
# List the required TeX Live packages in a separate file to allow reuse in | |
# different workflows. | |
package_file: .github/tl_packages | |
- name: Test bst | |
run: make testbst | |
- name: Test citation styles | |
run: l3build check | |
- name: Test doc | |
run: make doc |