Skip to content

Commit

Permalink
Update compile_main_fredi_data.yml
Browse files Browse the repository at this point in the history
Uncommented lines to install FrEDI package in compile_main_fredi_data.yml
  • Loading branch information
knoiva-indecon committed Nov 26, 2024
1 parent bd90f32 commit bd58cd7
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/compile_main_fredi_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,34 +56,34 @@ jobs:
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: 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 bd58cd7

Please sign in to comment.