Skip to content

Merge pull request #62 from spyrales/61-mise-a-jour-logo-prefet-nouve… #303

Merge pull request #62 from spyrales/61-mise-a-jour-logo-prefet-nouve…

Merge pull request #62 from spyrales/61-mise-a-jour-logo-prefet-nouve… #303

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install tools
run: |
install.packages(c("remotes", "rcmdcheck", "devtools", "covr"))
shell: Rscript {0}
- uses: actions/checkout@v2
- name: Install dependencies
run: remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Install gouvdown fonts to mac os
run: |
cp /Users/runner/work/_temp/Library/gouvdown.fonts/resources/fonts/spectral/desktop/truetype/*.ttf /Library/Fonts/
cp /Users/runner/work/_temp/Library/gouvdown.fonts/resources/fonts/marianne/truetype/*.ttf /Library/Fonts/
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "warning")
shell: Rscript {0}
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}