Fix CRAN NOTE on Debian system about tests taking too long. #42
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
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | |
# | |
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. | |
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: test-coverage | |
jobs: | |
test-coverage: | |
runs-on: ubuntu-18.04 | |
env: | |
RSPM: https://packagemanager.rstudio.com/cran/__linux__/bionic/latest | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v1 | |
with: | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-r-dependencies@v1 | |
with: | |
extra-packages: covr | |
- name: Test coverage | |
run: covr::codecov() | |
shell: Rscript {0} |