Skip to content

Commit

Permalink
Set up sonar for core and spring
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Nov 25, 2024
1 parent 392e462 commit b17437e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
java-version: "17"
sonar_args: >
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.projectKey=bcgov_nr-forest-client-commons
-Dsonar.projectKey=bcgov_nr-forest-client-commons-core
-Dsonar.coverage.jacoco.xmlReportPaths=target/coverage-reports/merged-test-report/jacoco.xml
-Dsonar.java.checkstyle.reportPaths=target/checkstyle-result.xml
-Dsonar.coverage.exclusions= **/dto/**,**/*$*Builder*
sonar_token: ${{ secrets.SONAR_TOKEN_COMMONS }}
sonar_token: ${{ secrets.SONAR_CORE }}
triggers: ('core/')

- uses: bcgov-nr/[email protected]
Expand All @@ -64,11 +64,11 @@ jobs:
java-version: "17"
sonar_args: >
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.projectKey=bcgov_nr-forest-client-commons
-Dsonar.projectKey=bcgov_nr-forest-client-commons-spring
-Dsonar.coverage.jacoco.xmlReportPaths=target/coverage-reports/merged-test-report/jacoco.xml
-Dsonar.java.checkstyle.reportPaths=target/checkstyle-result.xml
-Dsonar.coverage.exclusions=**/configuration/**,**/exception/**,**/dto/**,**/entity/**,**/models/**,**/repository/**,**/*$*Builder*,**/ApplicationConstant*
sonar_token: ${{ secrets.SONAR_TOKEN_COMMONS }}
sonar_token: ${{ secrets.SONAR_SPRING }}
triggers: ('spring/')

- name: Archive CycloneDX
Expand Down

0 comments on commit b17437e

Please sign in to comment.