Skip to content

Carbon tracking tab added #245

Carbon tracking tab added

Carbon tracking tab added #245

Workflow file for this run

on: [push, pull_request]
name: build
jobs:
build:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: '3.6.1'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
steps:
- uses: r-lib/actions/setup-pandoc@master
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@master
- name: Install dependencies
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
install.packages(c("remotes", "rcmdcheck", "covr"), repos = "https://cloud.r-project.org")
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}
- name: Test coverage
run: covr::codecov(token = "${{secrets.CODECOV_TOKEN}}")
shell: Rscript {0}