Skip to content

fix: Skip rules tests if unsuitable xelatex installation #11

fix: Skip rules tests if unsuitable xelatex installation

fix: Skip rules tests if unsuitable xelatex installation #11

# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: test-coverage
jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
NOT_CRAN: true
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install `exiftool`, `pdftk`, and `xelatex` on Ubuntu
if: runner.os == 'Linux'
run: |
sudo apt-get install -y libimage-exiftool-perl
sudo apt-get install -y pdftk
sudo apt-get install -y texlive-xetex
shell: bash
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: covr
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}