File tree Expand file tree Collapse file tree 7 files changed +7
-44
lines changed Expand file tree Collapse file tree 7 files changed +7
-44
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ if [ "$SAFE_FOR_MULTI_MONGOS" == "true" ]; then
31
31
export MULTI_MONGOS_URI_SYSTEM_PROPERTY=" -Dorg.mongodb.test.multi.mongos.uri=${MONGODB_URI} "
32
32
fi
33
33
34
- echo " Running Kotlin tests"
35
-
36
34
./gradlew -version
37
- ./gradlew kotlinCheck -Dorg.mongodb.test.uri=${MONGODB_URI} ${MULTI_MONGOS_URI_SYSTEM_PROPERTY}
35
+
36
+ echo " Running Kotlin Unit Tests"
37
+ ./gradlew :bson-kotlin:test :bson-kotlinx:test :driver-kotlin-sync:test :driver-kotlin-coroutine:test :driver-kotlin-extensions:test
38
+
39
+ echo " Running Kotlin Integration Tests"
40
+ ./gradlew :driver-kotlin-sync:integrationTest :driver-kotlin-coroutine:integrationTest -Dorg.mongodb.test.uri=${MONGODB_URI} ${MULTI_MONGOS_URI_SYSTEM_PROPERTY}
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE[0]:-$0}")"
12
12
echo " Compiling JVM drivers"
13
13
14
14
./gradlew -version
15
- ./gradlew -PxmlReports.enabled=true --info -x test -x integrationTest -x spotlessApply clean check scalaCheck kotlinCheck jar testClasses docs
15
+ ./gradlew -PxmlReports.enabled=true --info -x test -x integrationTest -x spotlessApply clean check scalaCheck jar testClasses docs
Original file line number Diff line number Diff line change @@ -111,13 +111,6 @@ spotbugs { showProgress.set(true) }
111
111
// ===========================
112
112
// Test Configuration
113
113
// ===========================
114
- tasks.create(" kotlinCheck" ) {
115
- description = " Runs all the kotlin checks"
116
- group = " verification"
117
-
118
- dependsOn(" clean" , " check" )
119
- tasks.findByName(" check" )?.mustRunAfter(" clean" )
120
- }
121
114
122
115
tasks.test { useJUnitPlatform() }
123
116
Original file line number Diff line number Diff line change @@ -128,13 +128,6 @@ spotbugs { showProgress.set(true) }
128
128
// ===========================
129
129
// Test Configuration
130
130
// ===========================
131
- tasks.create(" kotlinCheck" ) {
132
- description = " Runs all the kotlin checks"
133
- group = " verification"
134
-
135
- dependsOn(" clean" , " check" )
136
- tasks.findByName(" check" )?.mustRunAfter(" clean" )
137
- }
138
131
139
132
tasks.test { useJUnitPlatform() }
140
133
Original file line number Diff line number Diff line change @@ -156,15 +156,6 @@ val integrationTest =
156
156
classpath = sourceSets[" integrationTest" ].runtimeClasspath
157
157
}
158
158
159
- tasks.create(" kotlinCheck" ) {
160
- description = " Runs all the kotlin checks"
161
- group = " verification"
162
-
163
- dependsOn(" clean" , " check" , integrationTest)
164
- tasks.findByName(" check" )?.mustRunAfter(" clean" )
165
- tasks.findByName(" integrationTest" )?.mustRunAfter(" check" )
166
- }
167
-
168
159
tasks.test { useJUnitPlatform() }
169
160
170
161
// ===========================
Original file line number Diff line number Diff line change @@ -127,14 +127,6 @@ tasks.spotbugsMain {
127
127
// Test Configuration
128
128
// ===========================
129
129
130
- tasks.create(" kotlinCheck" ) {
131
- description = " Runs all the kotlin checks"
132
- group = " verification"
133
-
134
- dependsOn(" clean" , " check" )
135
- tasks.findByName(" check" )?.mustRunAfter(" clean" )
136
- }
137
-
138
130
tasks.test { useJUnitPlatform() }
139
131
140
132
// ===========================
Original file line number Diff line number Diff line change @@ -150,15 +150,6 @@ val integrationTest =
150
150
classpath = sourceSets[" integrationTest" ].runtimeClasspath
151
151
}
152
152
153
- tasks.create(" kotlinCheck" ) {
154
- description = " Runs all the kotlin checks"
155
- group = " verification"
156
-
157
- dependsOn(" clean" , " check" , integrationTest)
158
- tasks.findByName(" check" )?.mustRunAfter(" clean" )
159
- tasks.findByName(" integrationTest" )?.mustRunAfter(" check" )
160
- }
161
-
162
153
tasks.test { useJUnitPlatform() }
163
154
164
155
// ===========================
You can’t perform that action at this time.
0 commit comments