From 686f25e356c8b2f5bf5fc19c95acbff97af28088 Mon Sep 17 00:00:00 2001 From: wellbeing-dough Date: Tue, 23 Jan 2024 16:36:12 +0900 Subject: [PATCH] =?UTF-8?q?[Test]=20:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BB=A4=EB=B2=84=EB=A6=AC=EC=A7=80=20=EA=B2=B0=EA=B3=BC=20?= =?UTF-8?q?=EC=95=84=EC=B9=B4=EC=9D=B4=EB=B9=990?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b301d569..8e87923a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,11 +47,19 @@ jobs: id: buildAndTests continue-on-error: true # 테스트에 실패해도 계속 로그찍기 - - name: Upload Jacoco Report - uses: actions/upload-artifact@v3 + - name: JaCoCo Code Coverage Report + id: jacoco_reporter + uses: PavanMudigonda/jacoco-reporter@v4.9 with: - name: jacoco-report - path: build/reports/jacoco/test/html/index.html + coverage_results_path: jacoco-report/test.xml + coverage_report_name: Coverage + coverage_report_title: JaCoCo + github_token: ${{ secrets.GITHUB_TOKEN }} + skip_check_run: false + minimum_coverage: 20 + fail_below_threshold: false + publish_only_summary: false + - name: Archive test results if tests failed # 테스트가 실패하면 결과 아카이빙 if: steps.buildAndTests.outcome == 'failure'