Skip to content

Merge pull request #121 from brownag/terra-filepath #166

Merge pull request #121 from brownag/terra-filepath

Merge pull request #121 from brownag/terra-filepath #166

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: test-coverage
jobs:
test-coverage:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_WHITEBOX_EXE_PATH: '/Users/runner/Library/Application Support/org.R-project.R/R/whitebox/WBT/whitebox_tools '
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install system dependencies
run: |
brew install pkg-config
brew install gdal
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, any::covr, local::.
needs: check
- name: Install WhiteboxTools
run:
whitebox::install_whitebox()
shell: Rscript {0}
- name: Test coverage
run: |
covr::codecov()
shell: Rscript {0}