Skip to content

Commit

Permalink
Testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanzomorrodi committed Nov 23, 2024
1 parent 23aec41 commit b506da0
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,31 @@ jobs:

- name: install saspy
shell: Rscript {0}
run: sasquatch::install_saspy()
run: |
sasquatch::install_saspy()
- name: setup saspy
shell: Rscript {0}
env:
SAS_ODA_USERNAME: ${{ secrets.SAS_ODA_USERNAME }}
SAS_ODA_PASSWORD: ${{ secrets.SAS_ODA_PASSWORD }}
run: |
oda_username = Sys.getenv("SAS_ODA_USERNAME")
oda_password = Sys.getenv("SAS_ODA_PASSWORD")
cat(paste("oda user", oda_username, "password", oda_password), file = "~/.authinfo")
saspy_path <- reticulate::py_discover_config("saspy", "r-saspy")$required_module_path
cat("SAS_config_names = ['oda']
oda = {
'java' : '/usr/bin/java',
'iomhost' : ['odaws01-usw2-2.oda.sas.com','odaws02-usw2-2.oda.sas.com'],
'iomport' : 8591,
'encoding' : 'utf-8',
'authkey' : 'oda'
}", file = paste0(saspy_path, "/sascfg_personal.py"))
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

0 comments on commit b506da0

Please sign in to comment.