Skip to content

Commit

Permalink
coverlet output path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutando committed Mar 11, 2019
1 parent a3da55b commit 802ee66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/azure-pipelines-master-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ jobs:
projectName: Akkatecture
projectVersion: $(Build.BuildNumber)
extraProperties: |
sonar.cs.opencover.reportsPaths="test\Akkatecture.Tests\coverage.opencover.xml"
sonar.cs.opencover.reportsPaths="$(Build.SourcesDirectory)/opencover.xml"
- task: DotNetCoreCLI@2
displayName: 'Build [Akkatecture]'
inputs:
command: 'build'
projects: 'Akkatecture.sln'
arguments: '/p:Version=$(Build.BuildNumber) --configuration $(BuildConfiguration)'
arguments: '--configuration $(BuildConfiguration) --no-restore /p:Version=$(Build.BuildNumber)'

- task: DotNetCoreCLI@2
displayName: 'Test [Akkatecture.Tests]'
inputs:
command: 'test'
projects: 'test/Akkatecture.Tests/Akkatecture.Tests.csproj'
configuration: $(BuildConfiguration)
arguments: '/p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[xunit*]*'
arguments: '/p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=$(Build.SourcesDirectory)/opencover.xml /p:Exclude="[xunit*]*'
publishTestResults: true

- task: SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
Expand Down

0 comments on commit 802ee66

Please sign in to comment.