Skip to content

Commit

Permalink
ci: adding exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivgonzalezc committed Feb 20, 2024
1 parent 830a183 commit b2f3e78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ jobs:
-Dsonar.pullrequest.branch=${{ github.head_ref }}
-Dsonar.pullrequest.base=${{ github.base_ref }}}
-Dsonar.go.coverage.reportPaths=coverage.out
# -Dsonar.exclusions=

-Dsonar.exclusions=api/**/**_test.go,api/entities/**,api/logging/**,api/utils/**
env:
SONAR_TOKEN: ${{ env.SONAR_TOKEN }}
SONAR_HOST_URL: https://sonar.dev.beyondtrust.com
Expand All @@ -84,7 +83,7 @@ jobs:
args: >
-Dsonar.projectKey=${{ github.event.repository.name }}
-Dsonar.go.coverage.reportPaths=coverage.out
# -Dsonar.exclusions=
-Dsonar.exclusions=api/**/**_test.go,api/entities/**,api/logging/**,api/utils/**
env:
SONAR_TOKEN: ${{ env.SONAR_TOKEN }}
SONAR_HOST_URL: https://sonar.dev.beyondtrust.com
Expand Down

0 comments on commit b2f3e78

Please sign in to comment.