Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: EXPOSED-104 Update gradle test tasks #1832

Merged
merged 2 commits into from
Aug 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class DBTestingPlugin : Plugin<Project> {
testRuntimeOnly("org.postgresql", "postgresql", Versions.postgre)
testRuntimeOnly("com.impossibl.pgjdbc-ng", "pgjdbc-ng", Versions.postgreNG)
}
val postgresAll = register<Test>("postgresAllTest") {
bog-walk marked this conversation as resolved.
Show resolved Hide resolved
group = "verification"
delegatedTo(postgres, postgresNG)
}

val oracle = register<DBTestWithDockerCompose>("oracleTest", Parameters("ORACLE", 1521)) {
testRuntimeOnly("com.oracle.database.jdbc", "ojdbc8", Versions.oracle12)
Expand All @@ -68,11 +72,9 @@ class DBTestingPlugin : Plugin<Project> {
val mariadb_v2 = register<DBTestWithDockerCompose>("mariadb_v2Test", Parameters("MARIADB", 3306)) {
testRuntimeOnly("org.mariadb.jdbc", "mariadb-java-client", Versions.mariaDB_v2)
}

val mariadb_v3 = register<DBTestWithDockerCompose>("mariadb_v3Test", Parameters("MARIADB", 3306)) {
testRuntimeOnly("org.mariadb.jdbc", "mariadb-java-client", Versions.mariaDB_v3)
}

val mariadb = register<Test>("mariadbTest") {
group = "verification"
delegatedTo(mariadb_v2, mariadb_v3)
Expand All @@ -82,9 +84,11 @@ class DBTestingPlugin : Plugin<Project> {
delegatedTo(
h2,
sqlite,
mysql51,
postgres,
postgresNG
mysql,
postgresAll,
oracle,
sqlServer,
mariadb
)
}
}
Expand Down
Loading