Skip to content

Commit

Permalink
Adjust SonarCloud and Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Aug 22, 2021
1 parent 4616f3d commit 8693452
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/SonarCloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ jobs:
.\.sonar\scanner\dotnet-sonarscanner begin /k:"sungaila_Cdelta" /o:"sungaila" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /v:"$LatestGitTag" /d:sonar.cs.vstest.reportsPaths="**/*.trx" /d:sonar.cs.vscoveragexml.reportsPaths="**/*.coveragexml"
dotnet build Cdelta.sln -c Debug -p:VersionSuffix=ci
dotnet test src\Tests\Tests.csproj --logger trx --collect "Code Coverage"
dotnet-coverageconverter --CoverageFilesFolder "src\Tests\TestResults"
dotnet-coverageconverter --CoverageFilesFolder "TestResults"
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Cdelta
[![Azure DevOps builds (branch)](https://img.shields.io/azure-devops/build/sungaila/2feb76e5-ff0c-4623-8319-722a43829660/3/master?style=flat-square)](https://dev.azure.com/sungaila/Cdelta/_build/latest?definitionId=3&branchName=master)
[![Azure DevOps tests (branch)](https://img.shields.io/azure-devops/tests/sungaila/Cdelta/3/master?style=flat-square)](https://dev.azure.com/sungaila/Cdelta/_build/latest?definitionId=3&branchName=master)
[![SonarCloud Quality Gate](https://img.shields.io/sonar/quality_gate/sungaila_Cdelta?server=https%3A%2F%2Fsonarcloud.io&style=flat-square)](https://sonarcloud.io/dashboard?id=sungaila_Cdelta)
[![NuGet version](https://img.shields.io/nuget/v/Cdelta.svg?style=flat-square)](https://www.nuget.org/packages/Cdelta/)
[![NuGet downloads](https://img.shields.io/nuget/dt/Cdelta.svg?style=flat-square)](https://www.nuget.org/packages/Cdelta/)
[![GitHub license](https://img.shields.io/github/license/sungaila/Cdelta?style=flat-square)](https://github.com/sungaila/Cdelta/blob/master/LICENSE)
Expand Down
1 change: 0 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
inputs:
command: 'build'
arguments: '-c $(buildConfiguration) -p:VersionSuffix=ci'
workingDirectory: 'src'
- task: PublishPipelineArtifact@1
displayName: 'Publish project assemblies'
inputs:
Expand Down

0 comments on commit 8693452

Please sign in to comment.