2021-08-19 04:04:51 +00:00
|
|
|
# Download the JDBC drivers used in the tests
|
|
|
|
|
2021-08-19 11:35:41 +00:00
|
|
|
driverPath <- file.path(Sys.getenv("HOME"), "drivers")
|
|
|
|
if(!dir.exists(driverPath)) dir.create(driverPath)
|
|
|
|
|
2021-08-19 20:28:21 +00:00
|
|
|
if(Sys.getenv("LOCAL_TEST") != "TRUE") {
|
2021-08-19 19:17:01 +00:00
|
|
|
DatabaseConnector::downloadJdbcDrivers("all", pathToDriver = driverPath)
|
|
|
|
}
|