debug github actions

This commit is contained in:
Adam Black 2021-08-19 00:25:02 -04:00
parent b54b1947dd
commit 7a59d0350f
2 changed files with 6 additions and 6 deletions

View File

@ -21,9 +21,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
config: config:
- {os: windows-latest, r: 'release'} # Does not appear to have Java 32-bit, hence the --no-multiarch
- {os: macOS-latest, r: 'release'} - {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} - {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: windows-latest, r: 'release'} # Does not appear to have Java 32-bit, hence the --no-multiarch
env: env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true R_REMOTES_NO_ERRORS_FROM_WARNINGS: true

View File

@ -1,12 +1,12 @@
# Download the JDBC drivers used in the tests # Download the JDBC drivers used in the tests
oldJarFolder <- Sys.getenv("DATABASECONNECTOR_JAR_FOLDER") # oldJarFolder <- Sys.getenv("DATABASECONNECTOR_JAR_FOLDER")
Sys.setenv("DATABASECONNECTOR_JAR_FOLDER" = file.path(tempdir(check = TRUE), "drivers")) Sys.setenv("DATABASECONNECTOR_JAR_FOLDER" = file.path(tempdir(check = TRUE), "drivers"))
DatabaseConnector::downloadJdbcDrivers("postgresql") DatabaseConnector::downloadJdbcDrivers("postgresql")
# downloadJdbcDrivers("sql server") # downloadJdbcDrivers("sql server")
# downloadJdbcDrivers("oracle") # downloadJdbcDrivers("oracle")
withr::defer({ # withr::defer({
unlink(Sys.getenv("DATABASECONNECTOR_JAR_FOLDER"), recursive = TRUE, force = TRUE) # unlink(Sys.getenv("DATABASECONNECTOR_JAR_FOLDER"), recursive = TRUE, force = TRUE)
Sys.setenv("DATABASECONNECTOR_JAR_FOLDER" = oldJarFolder) # Sys.setenv("DATABASECONNECTOR_JAR_FOLDER" = oldJarFolder)
}, testthat::teardown_env()) # }, testthat::teardown_env())