forked from AdamWilsonLabEDU/2024-geo511-spatial-data-science-case-studies-geo511_casestudy_template
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 964 Bytes
/
CS12.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
name: Case Study 12
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-18.04
container: rocker/geospatial:latest
steps:
- name: Checkout Repository
uses: actions/checkout@master
- name: Install dependencies
run: |
install.packages(c("testthat","tidyverse","RCurl","questionr"))
shell: Rscript {0}
- name: Install all needed packages
run: questionr::qscan(list.files(pattern="*.R",recursive=T), load = TRUE, detail = FALSE)
shell: Rscript {0}
- name: Case Study 12
run: testthat::test_file("tests/testthat/test-CS12.R",stop_on_failure = TRUE,reporter = "progress")
shell: Rscript {0}