Skip to content

Commit

Permalink
[Config] show coverage (#40)
Browse files Browse the repository at this point in the history
* config show coverage

* add sonar in pipeline

* remove sonar config in pipeline

* sonar config

* remove coverage
  • Loading branch information
khanhduzz authored Sep 4, 2024
1 parent c3fee19 commit 1337bc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline-sun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ jobs:
with:
paths: ${{github.workspace}}/target/site/jacoco/jacoco.xml
token: ${{secrets.GITHUB_TOKEN}}
min-coverage-overall: 80
min-coverage-changed-files: 60
min-coverage-overall: 30
min-coverage-changed-files: 20
title: 'Sunrise Coverage Report'
update-comment: true
- name: Log in to the Container registry
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<sonar.organization>khanhduzz</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>khanhduzz_sun-rise</sonar.projectKey>
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>
<dependencies>
<dependency>
Expand Down

0 comments on commit 1337bc6

Please sign in to comment.