Skip to content

Commit

Permalink
Merge pull request #330 from DFE-Digital/cshnimble-patch-1
Browse files Browse the repository at this point in the history
Update SonarCloud project key
  • Loading branch information
cshnimble authored May 25, 2023
2 parents b50a708 + 174b07e commit 41c53f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ConnectionStrings__DefaultConnection: ${{ env.CONNECTION_STRING }}
run: |
dotnet-sonarscanner begin /k:"DFE-Digital_trams-data-api" /o:"dfe-digital" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml
dotnet-sonarscanner begin /k:"DFE-Digital_academies-api" /o:"dfe-digital" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml
dotnet build --no-restore
dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
reportgenerator -reports:./**/coverage.cobertura.xml -targetdir:./CoverageReport -reporttypes:SonarQube
Expand Down

0 comments on commit 41c53f9

Please sign in to comment.