debug github actions
This commit is contained in:
parent
7a59d0350f
commit
639d6a9d0a
|
@ -1,8 +1,17 @@
|
||||||
# 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"))
|
|
||||||
DatabaseConnector::downloadJdbcDrivers("postgresql")
|
driverPath <- file.path(Sys.getenv("HOME"), "drivers")
|
||||||
|
if(!dir.exists(driverPath)) dir.create(driverPath)
|
||||||
|
Sys.setenv("DATABASECONNECTOR_JAR_FOLDER" = driverPath)
|
||||||
|
DatabaseConnector::downloadJdbcDrivers("postgresql", pathToDriver = driverPath)
|
||||||
|
|
||||||
|
print(Sys.getenv("DATABASECONNECTOR_JAR_FOLDER"))
|
||||||
|
list.files(driverPath)
|
||||||
|
# if(Sys.getenv("DATABASECONNECTOR_JAR_FOLDER") == "") {
|
||||||
|
# driverPath <- file.path(Sys.getenv("HOME"), "drivers")
|
||||||
|
# }
|
||||||
# downloadJdbcDrivers("sql server")
|
# downloadJdbcDrivers("sql server")
|
||||||
# downloadJdbcDrivers("oracle")
|
# downloadJdbcDrivers("oracle")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue