From f6ed32b090ab11963c340662c5c4e2b3434719bf Mon Sep 17 00:00:00 2001 From: anthorob Date: Sun, 14 Jul 2024 13:21:07 -0400 Subject: [PATCH] ci: add junit reports in test phase --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 790d5d1..ac04551 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,11 @@ test: script: - "chmod +x ./mvnw" - "./mvnw $MAVEN_CLI_OPTS test" + artifacts: + when: always + reports: + junit: + - "**/target/*-reports/TEST-*.xml" package: stage: package @@ -46,7 +51,4 @@ package: artifacts: name: "Maven artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" paths: - - "**/target" - reports: - junit: - - "**/target/*-reports/TEST-*.xml" \ No newline at end of file + - "**/target" \ No newline at end of file