Skip to content

Merge pull request #119 from CeresBarros/pretty-code #3

Merge pull request #119 from CeresBarros/pretty-code

Merge pull request #119 from CeresBarros/pretty-code #3

on:
push:
branches:
- main
- devl
pull_request:
branches:
- main
- devl
name: test-coverage
jobs:
test-coverage:
if: "!contains(github.event.commits[0].message, '[skip-ci]')"
runs-on: ubuntu-20.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
NOT_CRAN: true
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
Ncpus: 2
use-public-rspm: false
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::covr
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}