Skip to content

Commit

Permalink
[#1855] Add Sonar and codecov back (#1856)
Browse files Browse the repository at this point in the history
* [#1853] Create new job for uploading reports

* [#1855] Add Sonar and codecov back

* [#1855] Add Sonar and codecov back

* [#1855] Add Sonar and codecov back
  • Loading branch information
mustafaozhan authored Jan 29, 2023
1 parent c58bdba commit 1642b72
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,17 @@ jobs:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: report.xml

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.organization=oztechan
-Dsonar.projectKey=Oztechan_CCC
-Dsonar.coverage.jacoco.xmlReportPaths=report.xml
- name: Delete Coverage Report
uses: geekyeggo/delete-artifact@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ coverage:
patch:
default:
informational: true
comment: false
comment: # this is a top-level key
layout: "diff, reach, files"

0 comments on commit 1642b72

Please sign in to comment.