From a2376352a94bcf0f9040949a32828982580fcbed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=9C=EA=B4=80=ED=9D=AC?= Date: Fri, 6 Dec 2024 21:17:54 +0900 Subject: [PATCH] =?UTF-8?q?feat(CI):=20Test=20Reporter=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 14 ++++++++++++++ build.gradle.kts | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c1a840..b6120af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,3 +27,17 @@ jobs: with: name: test-results path: '**/build/reports/tests/test/*' + + - name: Test Reporter + uses: dorny/test-reporter@v1.9.1 + if: success() || failure() + with: + name: 'Spring Boot Tests' + path: '**/build/test-results/test/*.xml' + reporter: 'java-junit' + only-summary: 'false' + list-suites: 'all' + list-tests: 'all' + max-annotations: '50' + fail-on-error: 'true' + fail-on-empty: 'true' diff --git a/build.gradle.kts b/build.gradle.kts index d2a05c5..af23ac3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -79,6 +79,10 @@ allprojects { tasks.named("test") { useJUnitPlatform() + + reports { + junitXml.required.set(true) + } } tasks.withType {