1
0
mirror of https://github.com/bitwarden/server synced 2025-12-28 06:03:29 +00:00

Configure Sonar tests and sources (#4505)

This commit is contained in:
Matt Bishop
2024-07-16 09:15:01 -04:00
committed by GitHub
parent 5df0e2180d
commit 9960874d2d

View File

@@ -83,6 +83,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
dotnet-sonarscanner begin /k:"${{ github.repository_owner }}_${{ github.event.repository.name }}" \
/d:sonar.tests=test/ /d:sonar.sources=. /d:sonar.test.inclusions=test/ /d:sonar.exclusions=test/ \
/o:"${{ github.repository_owner }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \
/d:sonar.host.url="https://sonarcloud.io"
dotnet build