Skip to content

Commit

Permalink
Update test_fredi.yml
Browse files Browse the repository at this point in the history
Uncommented lines to run FrEDI from new branch in `test_fredi.yml` after updating NAMESPACE file
  • Loading branch information
knoiva-indecon committed Nov 25, 2024
1 parent 610ba58 commit 1aba8ec
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/test_fredi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,22 +101,22 @@ jobs:
### Detach FrEDI package
package:FrEDI |> detach(unload=TRUE)
# ###### Run FrEDI for New Branch ######
# ### Install FrEDI from new branch
# devtools::install_github(repo=urlRepo, ref=newBranch, dependencies=F, upgrade="never", force=T, type="source")
# .libPaths()[1] |> list.files() |> print()
# library(FrEDI)
# dfNew <- run_fredi(aggLevels=cAggLvls)
# dfNew |> save(file=oFileNew)
# "got here4" |> print()
#
# ###### Test results ######
# ### Load testing scripts
# tFiles0 <- tPath0 |> list.files(full.names=TRUE)
# for(file_i in tFiles0){file_i |> source(); rm(file_i)}
# ### Get test results
# dfTests <- general_fredi_test(newOutputs=dfNew, refOutputs=dfRef, outPath=oPath0)
# "got here5" |> print()
###### Run FrEDI for New Branch ######
### Install FrEDI from new branch
devtools::install_github(repo=urlRepo, ref=newBranch, dependencies=F, upgrade="never", force=T, type="source")
.libPaths()[1] |> list.files() |> print()
library(FrEDI)
dfNew <- run_fredi(aggLevels=cAggLvls)
dfNew |> save(file=oFileNew)
"got here4" |> print()
###### Test results ######
### Load testing scripts
tFiles0 <- tPath0 |> list.files(full.names=TRUE)
for(file_i in tFiles0){file_i |> source(); rm(file_i)}
### Get test results
dfTests <- general_fredi_test(newOutputs=dfNew, refOutputs=dfRef, outPath=oPath0)
"got here5" |> print()
'
- name: Upload Tests
Expand Down

0 comments on commit 1aba8ec

Please sign in to comment.