Renaming variables for consistency with C++ library #166
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: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: Coverage | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
name: Coverage | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- uses: r-lib/actions/[email protected] | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: any::covr | |
needs: check | |
- name: Running coverage | |
run: | | |
# Files to exclude | |
files <- list.files("inst/", full.names = TRUE, recursive = TRUE) | |
# Run coverage | |
covr::codecov( | |
line_exclusions = as.list(files), | |
token = Sys.getenv("CODECOV_TOKEN") | |
) | |
shell: Rscript {0} | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |