Skip to content

Commit

Permalink
refactor(ci): improved Sonarqube configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ardevd committed Feb 14, 2024
1 parent f997808 commit c7922bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# mandatory
-Dsonar.projectKey=flash
# Comma-separated paths to directories containing main source files.
#-Dsonar.sources= # optional, default is project base directory
-Dsonar.sources=.
# When you need the analysis to take place in a directory other than the one from which it was launched
#-Dsonar.projectBaseDir= # optional, default is .
# Comma-separated paths to directories containing test source files.
Expand Down
7 changes: 7 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
sonar.projectVersion=v0.0.1
sonar.sources=.
sonar.sourceEncoding=UTF-8
sonar.language=go

sonar.exclusions=**/*_test.go,*.py
sonar.go.coverage.reportPaths=./coverage.prof

0 comments on commit c7922bc

Please sign in to comment.