From acca0f9f070577fecb84dfac24b078910363264c Mon Sep 17 00:00:00 2001 From: Paulo Gomes da Cruz Junior Date: Mon, 28 Oct 2024 06:07:55 -0700 Subject: [PATCH] ci: updating sonar and jacoco exclusions --- .github/workflows/analysis.yml | 2 +- backend/pom.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 31475a6c..7cba3636 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -25,7 +25,7 @@ jobs: java-distribution: temurin java-version: 21 sonar_args: > - -Dsonar.exclusions=**/config/**,**/converter/**,**/dto/**,**/entity/**,**/exception/**,**/job/**,**/response/**,**/*$*Builder*,**/RestExceptionEndpoint.*,**/ResultsApplication.* + -Dsonar.exclusions=**/configuration/**,**/dto/**,**/entity/**,**/exception/**,**/job/**,**/*$*Builder*,**/ResultsApplication.*,**/*Constants.*, -Dsonar.coverage.jacoco.xmlReportPaths=target/coverage-reports/merged-test-report/jacoco.xml -Dsonar.organization=bcgov-sonarcloud -Dsonar.project.monorepo.enabled=true diff --git a/backend/pom.xml b/backend/pom.xml index c6d3b09a..f0ba2680 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -162,6 +162,7 @@ com.oracle.database.jdbc ojdbc11 + runtime org.flywaydb @@ -179,6 +180,7 @@ org.postgresql postgresql + runtime org.testcontainers @@ -200,6 +202,7 @@ org.springframework.security spring-security-test + test org.testcontainers @@ -331,17 +334,14 @@ ${jacoco.skip} - **/config/** - **/converter/** + **/configuration/** **/dto/** **/entity/** **/exception/** **/job/** - **/response/** **/*$*Builder* - **/RestExceptionEndpoint.* - **/Controller.* **/ResultsApplication.* + **/*Constants.*