Draft material for SP workshop slides #211
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: | |
- main | |
- synoptic | |
name: Synoptic workflow | |
jobs: | |
build_run_workflow: | |
runs-on: ubuntu-latest | |
name: Build and run workflow | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: r-lib/actions/setup-r@v2 | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- uses: quarto-dev/quarto-actions/setup@v2 | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
packages: | |
any::quarto | |
any::tidyr | |
any::readr | |
any::lubridate | |
any::RSQLite | |
any::ggplot2 | |
- name: Install other needed packages | |
run: | | |
pak::pkg_install("COMPASS-DOE/compasstools") | |
shell: Rscript {0} | |
- name: Run data workflow | |
run: | | |
cd synoptic/ | |
Rscript --verbose ./driver.R |