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 d5bab84 commit 23aec41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 135 deletions.
43 changes: 2 additions & 41 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -53,42 +50,6 @@ jobs:
with:
python-version: "3.x"

- name: setup r-reticulate venv
- name: install saspy
shell: Rscript {0}
run: |
path_to_python <- reticulate::virtualenv_create(
envname = "r-reticulate",
python = Sys.which("python"), # placed on PATH by the setup-python action
packages = c(
"wheel", "saspy", "pandas"
)
)
writeLines(sprintf("RETICULATE_PYTHON=%s", path_to_python),
Sys.getenv("GITHUB_ENV"))
- name: setup saspy
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 <- paste0(gsub("Location: ", "", system(paste(reticulate::virtualenv_python("r-reticulate"), "-m pip show saspy"), intern = TRUE)[8]), "/saspy")
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"))
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
run: sasquatch::install_saspy()
94 changes: 0 additions & 94 deletions .github/workflows/test-coverage.yaml

This file was deleted.

0 comments on commit 23aec41

Please sign in to comment.