Skip to content

Derived variables should be created with derived flag (defaults to FALSE, but configurable with global options) #397

Derived variables should be created with derived flag (defaults to FALSE, but configurable with global options)

Derived variables should be created with derived flag (defaults to FALSE, but configurable with global options) #397

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}