From 7f114ed39e0afa1054b3ba7dcb259255d41919da Mon Sep 17 00:00:00 2001 From: Sim-km Date: Tue, 17 Sep 2024 01:32:49 +0900 Subject: [PATCH] =?UTF-8?q?ASAP-000=20chore:=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=20=EC=BB=A4=EB=B2=84=EB=A6=AC=EC=A7=80=20=EB=B3=B4=EC=97=AC?= =?UTF-8?q?=EC=A3=BC=EB=8A=94=20=EB=B4=87=20=EC=B6=94=EA=B0=80=20=EB=B0=8F?= =?UTF-8?q?=20merge=20->=20pull=20request=20=ED=95=A0=EB=95=8C=EB=A7=88?= =?UTF-8?q?=EB=8B=A4=20=EB=B3=80=EA=B2=BD=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Code_Analyze.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Code_Analyze.yml b/.github/workflows/Code_Analyze.yml index a80c190..793ba60 100644 --- a/.github/workflows/Code_Analyze.yml +++ b/.github/workflows/Code_Analyze.yml @@ -1,7 +1,7 @@ name: Code Analyze on: - push: + pull_request: branches: - main @@ -37,4 +37,15 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | - ./gradlew clean test testCodeCoverageReport sonar \ No newline at end of file + ./gradlew clean test testCodeCoverageReport sonar + + - name: Reporting Code Coverage + id: jacoco + uses: madrapps/jacoco-report@1.7.0 + with: + path: | + ${{github.workspace}}/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml + token: ${{ secrets.GITHUB_TOKEN }} + min-coverage-overall: 40 + min-coverage-changed-files: 40 + update-comment: true \ No newline at end of file