Skip to content

fix: run_app() consistent with run_dev() #241

fix: run_app() consistent with run_dev()

fix: run_app() consistent with run_dev() #241

on:
push:
branches:
- main
- master
- dev
- test-docker-ci
pull_request:
branches:
- main
- master
- dev
name: coverage-docker-renv
jobs:
coverage-docker-renv:
runs-on: ubuntu-latest
container: rocker/geospatial:4.3.0
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
RENV_PATHS_ROOT: ~/.local/share/renv
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.local/share/renv
key: ubuntu-latest-renv-${{ hashFiles('**/renv.lock') }}
restore-keys: |
ubuntu-latest-renv-
- name: Install system dependencies Linux
run: sudo apt-get update -qq && apt install -y libharfbuzz-dev libfribidi-dev libgit2-dev
- name: Install dependencies
run: |
source("renv/activate.R")
renv::restore()
renv::install("remotes")
renv::install("covr")
remotes::install_local(upgrade = "never")
shell: Rscript {0}
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}