allow gh actions to provide the PG host and port
@@ -157,7 +157,7 @@ test {
if(project.hasProperty("runPostgresTests")) {
systemProperty("postgres.tests","true")
- systemProperty("postgres.jdbc.url","jdbc:postgresql://localhost:5432/postgres")
+ systemProperty("postgres.jdbc.url","jdbc:postgresql://"+ System.getenv("POSTGRES_HOST") +":"+ System.getenv("POSTGRES_PORT") +"/postgres")
systemProperty("postgres.jdbc.user","postgres")
systemProperty("postgres.jdbc.password","postgres")
}
