From 809e765b4727643b6f97d430bdde5b69f300b3ad Mon Sep 17 00:00:00 2001 From: Carl Jones <jonesc162@cardiff.ac.uk> Date: Wed, 15 Mar 2023 13:57:54 +0000 Subject: [PATCH] Update .gitlab-ci.yml, build.gradle --- .gitlab-ci.yml | 4 +--- build.gradle | 15 --------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4835445..10a5d95 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 97df888..c4466c1 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' } -- GitLab