46 maj logo préfète de région centre val de loire #300
Workflow file for this run
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
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} |