Run integrationTest as part of test
MODIFY
.circleci/config.yml
.circleci/config.yml
@@ -33,7 +33,7 @@ jobs:
name: Build Project
command: >-
GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx1G -Xms64M' -Dota.forkedMaxHeapSize=1G -Dota.forkedMinHeapSize=64M"
- ./gradlew clean build shadowJar -x test -x integrationTest
+ ./gradlew clean build shadowJar -x test
<< pipeline.parameters.gradle_flags >>
--max-workers=8
@@ -183,7 +183,7 @@ workflows:
requires:
- build
name: test_8
- testTask: testJava8 integrationTestJava8
+ testTask: testJava8
filters:
tags:
only: /.*/

MODIFY
gradle/instrumentation.gradle
gradle/instrumentation.gradle
@@ -83,4 +83,4 @@ task integrationTest(type: Test) {
}
}
-check.dependsOn integrationTest
\ No newline at end of file
+test.finalizedBy integrationTest

MODIFY
gradle/java.gradle
gradle/java.gradle
@@ -260,7 +260,6 @@ def addTestRule(String testTaskName) {
}
addTestRule("test")
-addTestRule("integrationTest")
addTestRule("latestDepTest")
tasks.withType(Test).configureEach {

Run integrationTest as part of test (#817)