test brm_archetype_successive_cells clda #863
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
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | |
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
on: [push, pull_request] | |
name: cover | |
jobs: | |
cover: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
NOT_CRAN: true | |
steps: | |
- uses: actions/[email protected] | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: any::covr, any::rstudioapi | |
needs: coverage | |
- name: Test coverage | |
run: | | |
out <- covr::zero_coverage(covr::package_coverage()) | |
out <- out[!grepl("^src", out$filename),, drop = FALSE] | |
print(out) | |
if (nrow(out)) stop("some lines not covered by tests") | |
shell: Rscript {0} |