Skip to content

Default new ds project 188559300 #404

Default new ds project 188559300

Default new ds project 188559300 #404

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: test-coverage-and-lint
jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: release
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::covr
any::lintr
needs: check
- name: Decompress cubes
run: Rscript 'dev-misc/compress-mocks.R'
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}
- name: lintr
run: lintr::lint_package()
shell: Rscript {0}