diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4835445749def2c0c65564556a1ae2824fc95524..10a5d95597db54b420bbc3c6b9fbb14f9fa41d81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: openjdk:17-jdk +image: openjdk:17-alpine default: @@ -51,7 +51,6 @@ build:gradle: - ./build/reports/checkstyle/ - ./build/jacocoHtml - ./build/libs/*.jar - - ./build/reports/pitest expire_in: 4 week @@ -65,7 +64,6 @@ pages: - pwd - mv ./build/reports/tests/ public - mv ./build/reports/checkstyle/ public - - mv ./build/reports/pitest/ public - mv ./build/jacocoHtml/ public - mv ./build/libs/*.jar public - pwd diff --git a/build.gradle b/build.gradle index 97df8880c01aff3ff3e7e0f1ac98fc7e62090703..c4466c171db467ca75254e0bbc1d8c6a2886170c 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,6 @@ plugins { id 'idea' id 'application' id 'com.github.johnrengelman.shadow' version '7.1.0' - id 'info.solidsoft.pitest' version '1.7.0' } group 'com.nsa.cm6123-6623' @@ -101,20 +100,6 @@ task buildAndReport { dependsOn build, jacocoTestReport } - -pitest { - targetClasses = ['com.cm6123.monopoly.*'] //by default "${project.group}.*" - excludedClasses = ['com.cm6123.monopoly.app.*'] - //pitestVersion = '1.4.1' //not needed when a default PIT version should be used - threads = 4 - outputFormats = ['XML', 'HTML'] - timestampedReports = false - junit5PluginVersion = '0.15' -} - -//check.dependsOn("pitest") //comment this line out if your build fails with the 'CoverageMinion' error. - - rootProject.tasks.named("jar") { duplicatesStrategy = 'include' }