Skip to content

Commit

Permalink
Update sonarcloud.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ei3kf committed Sep 5, 2023
1 parent 8ecc994 commit f354364
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
# You can pin the exact commit or the version.
# uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049
uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049
run: ls -latr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
Expand All @@ -60,5 +59,9 @@ jobs:
-Dsonar.projectKey=ei3kf_Python
-Dsonar.organization=ei3kf
-Dsonar.scm.provider=git
-Dsonar.projectBaseDir=/git/workspace/Python/
-Dsonar.projectBaseDir=Python/
-Dsonar.verbose=true
# Comma-separated paths to directories containing test source files.
#-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/
# Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing.
#-Dsonar.verbose= # optional, default is false

0 comments on commit f354364

Please sign in to comment.