Skip to content

Update test_coverage and diagnostics #84

Update test_coverage and diagnostics

Update test_coverage and diagnostics #84

Workflow file for this run

name: test_coverage
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
r: ['3.6']
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
GITHUB_PAT: ${{ secrets.PAT}}
steps:
- uses: actions/checkout@v1
- uses: r-lib/actions/setup-r@v2-branch
with:
r-version: ${{ matrix.r }}
- uses: r-lib/actions/setup-pandoc@v2-branch
- uses: r-lib/actions/setup-tinytex@v2-branch
- name: Install dependencies
run: |
install.packages(c("remotes","rcmdcheck"), repos = "https://cloud.r-project.org")
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Test coverage
run: |
remotes::install_cran("covr")
covr::codecov(token = "${{secrets.CODECOV_TOKEN}}")
shell: Rscript {0}