-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASAP-000 chore: 테스트 커버리지 보여주는 봇 추가 및 merge -> pull request 할때마다 변경하도록 수정
- Loading branch information
1 parent
378901f
commit 7f114ed
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
./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 |