Skip to content

Commit

Permalink
add coverage to sonarqube
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Jan 11, 2024
1 parent 0c85efc commit 1f999c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/coverage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
cd pkpdapp && codecov
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20 changes: 0 additions & 20 deletions .github/workflows/sonarqube.yml

This file was deleted.

2 changes: 2 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
sonar.projectKey=pkpdapp-team_pkpdapp
sonar.organization=pkpdapp-team
sonar.python.coverage.reportPaths=pkpdapp/coverage.xml


# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=pkpdapp
Expand Down

0 comments on commit 1f999c5

Please sign in to comment.