Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
fix issues with switch from linux to windows
Browse files Browse the repository at this point in the history
  • Loading branch information
iantaylor-NOAA committed Sep 6, 2022
1 parent 6a6a996 commit d6f0725
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-ss3-with-est.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
file.copy(file.path(dir, "ss.par"), file.path(dir, "ss_ref.par"))
# run the models with estimation and see if model finishes without error
message("running ss on ", basename(dir))
system(paste0("cd ", dir, " && ../ss -nox"))
system(paste0("cd ", dir, " && ss"))
model_ran <- file.exists(file.path(dir, "control.ss_new"))
return(model_ran)
}
Expand Down Expand Up @@ -147,12 +147,12 @@ jobs:
shell: Rscript {0}

- name: Determine results of test
run: cd test-models-repo && Rscript .github/r_scripts/check_failed.R
run: cd test-models-repo && Rscript .github\r_scripts\check_failed.R

- name: Archive results
uses: actions/upload-artifact@main
if: always()
with:
name: 'result_textfiles'
path: test-models-repo/run_R/
path: test-models-repo\run_R\

0 comments on commit d6f0725

Please sign in to comment.