Skip to content

Commit

Permalink
Update compile_main_fredi_data.yml
Browse files Browse the repository at this point in the history
Uncommented configuration lines
  • Loading branch information
knoiva-indecon committed Nov 26, 2024
1 parent f9307a6 commit bd90f32
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/compile_main_fredi_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,47 +43,47 @@ jobs:
any::zoo
# - name: Install FrEDI
# run: |
# Rscript -e '
# devtools::install_github(
# repo = "https://github.com/USEPA/FrEDI",
# ref = "${{ github.event.inputs.branch_name }}",
# # subdir = "FrEDI",
# dependencies = FALSE,
# upgrade = "never",
# force = TRUE,
# type = "source"
# )'
#
# - name: Run createsystemData
# run: |
# Rscript -e '
# projectDir <- "."
# scriptDir <- projectDir |> file.path("scripts")
# scriptDir |> file.path("configureFrediData.R") |> source()
# test0 <- projectDir |> configureFrediData(save=T)
# "./data_tests/" |> list.files() |> print()
# "./data/" |> list.files() |> print()
# '
#
# - name: Upload Tests
# uses: actions/upload-artifact@v4
# with:
# name: Data
# path: |
# ./data_tests/*
# ./data/tmp_sysdata.rd*
#
#
# - name: Commit results
# run: |
# git config --local core.autocrlf false
# git config --local user.email "${{ github.actor }}@users.noreply.github.com"
# git config --local user.name "${{ github.actor }}"
# git add data/tmp_sysdata.rd*
# git add data_tests/**.xlsx
# git pull origin ${{ github.head_ref }} --autostash --rebase -X ours
# git commit -a -m "Updated temporary system data and tests"
# git push
- name: Install FrEDI
run: |
Rscript -e '
devtools::install_github(
repo = "https://github.com/USEPA/FrEDI",
ref = "${{ github.event.inputs.branch_name }}",
# subdir = "FrEDI",
dependencies = FALSE,
upgrade = "never",
force = TRUE,
type = "source"
)'
- name: Run createsystemData
run: |
Rscript -e '
projectDir <- "."
scriptDir <- projectDir |> file.path("scripts")
scriptDir |> file.path("configureFrediData.R") |> source()
test0 <- projectDir |> configureFrediData(save=T)
"./data_tests/" |> list.files() |> print()
"./data/" |> list.files() |> print()
'
- name: Upload Tests
uses: actions/upload-artifact@v4
with:
name: Data
path: |
./data_tests/*
./data/tmp_sysdata.rd*
- name: Commit results
run: |
git config --local core.autocrlf false
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
git config --local user.name "${{ github.actor }}"
git add data/tmp_sysdata.rd*
git add data_tests/**.xlsx
git pull origin ${{ github.head_ref }} --autostash --rebase -X ours
git commit -a -m "Updated temporary system data and tests"
git push

0 comments on commit bd90f32

Please sign in to comment.