Skip to content

Update pkgdown-pak.yaml #32

Update pkgdown-pak.yaml

Update pkgdown-pak.yaml #32

# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
# tags: ['*']
workflow_dispatch:
name: testcoverage
jobs:
testcoverage:
if: "!contains(github.event.head_commit.message, 'skip covr')"
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: covr
- name: Test Coverage
run: |
Rscript -e 'covr::codecov()'