Skip to content

Commit

Permalink
ci: fix sonar args with exclusions and coverage
Browse files Browse the repository at this point in the history
issue #111
  • Loading branch information
Ricardo Campos authored and DerekRoberts committed Oct 4, 2023
1 parent 50462f4 commit 359e621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
java-distribution: oracle
java-version: 21
sonar_args: >
-Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts
-Dsonar.exclusions=**/config/**,*/dto/**,**/entity/**,**/exception/**,**/response/**,**/*$*Builder*,**/RestExceptionEndpoint.*,**/ResultsApplication.*
-Dsonar.coverage.jacoco.xmlReportPaths=target/coverage-reports/merged-test-report/jacoco.xml
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.project.monorepo.enabled=true
-Dsonar.projectKey=nr-silva-backend
-Dsonar.sources=src
sonar_token: ${{ secrets.SONAR_TOKEN_BACKEND }}
triggers: ${{ github.event_name == 'pull_request' && '("backend/")' || '' }}

Expand Down

0 comments on commit 359e621

Please sign in to comment.