Skip to content

Commit 3fff5b0

Browse files
dreab8DavideD
authored andcommitted
Run validator-postgres and verticle-postgres integration tests only if projetc property is not set or is equal to PostgreSQL
1 parent b0be42d commit 3fff5b0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

integration-tests/hibernate-validator-postgres-it/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ plugins {
1616
alias(libs.plugins.org.hibernate.orm)
1717
}
1818

19+
test {
20+
def db = project.properties['db']
21+
enabled = db == null || db.equals( 'PostgreSQL' )
22+
}
23+
1924
description = 'Quarkus QE integration tests'
2025

2126
dependencies {

integration-tests/verticle-postgres-it/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ plugins {
1414
id 'hr-test-containers'
1515
}
1616

17+
test {
18+
def db = project.properties['db']
19+
enabled = db == null || db.equals( 'PostgreSQL' )
20+
}
21+
1722
description = 'Bytecode enhancements integration tests'
1823

1924
dependencies {

0 commit comments

Comments
 (0)