mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Configure Sonar tests and sources (#4505)
This commit is contained in:
parent
5df0e2180d
commit
9960874d2d
1
.github/workflows/scan.yml
vendored
1
.github/workflows/scan.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user