Fix reset() behavior so that files and folders are removed cleanly #246
Workflow file for this run
This file contains hidden or 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 | |
- dev-v2 | |
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 pipeline/ | |
Rscript --verbose ./driver.R |