Skip to content

Commit

Permalink
ASAP-000 chore: 테스트 커버리지 보여주는 봇 추가 및 merge -> pull request 할때마다 변경하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tlarbals824 committed Sep 16, 2024
1 parent 378901f commit 7f114ed
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/Code_Analyze.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Code Analyze

on:
push:
pull_request:
branches:
- main

Expand Down Expand Up @@ -37,4 +37,15 @@ jobs:
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./gradlew clean test testCodeCoverageReport sonar
./gradlew clean test testCodeCoverageReport sonar
- name: Reporting Code Coverage
id: jacoco
uses: madrapps/[email protected]
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

0 comments on commit 7f114ed

Please sign in to comment.