Skip to content

[wip] try to work around withr issue #7

[wip] try to work around withr issue

[wip] try to work around withr issue #7

Workflow file for this run

name: coverage
on:
push:
branches:
- 'main'
- 'scratch/**'
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install bbi
uses: ./.github/actions/setup-bbi
- uses: r-lib/actions/setup-r@v2
with:
r-version: release
use-public-rspm: true
extra-repositories: 'https://mpn.metworx.com/snapshots/stable/2023-12-05'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::covr
github::metrumresearchgroup/nmrec@0.3.0
github::r-lib/withr@v3.0.0
upgrade: 'TRUE'
- name: Run covr
run: covr::codecov()
shell: Rscript {0}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}