Skip to content

Commit

Permalink
🔬 Include the framework in the coverage output filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
JSkimming committed Jan 11, 2020
1 parent 5661408 commit 8e5b8fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,30 @@ jobs:
steps:

- task: UseDotNet@2
displayName: Install .NET Core SDK $(sdkVersion)
inputs:
version: $(sdkVersion)
displayName: Install .NET Core SDK

- task: ShellScript@2
displayName: Test Coverage
inputs:
scriptPath: ./coverage.sh
args: "$(framework) $(config)"
displayName: Test Coverage

- task: PublishTestResults@2
displayName: Publish test results
inputs:
testResultsFormat: VSTest
testResultsFiles: "**/*.trx"
failTaskOnFailedTests: true
buildConfiguration: $(config)
publishRunAttachments: true
displayName: Publish test results

- task: PublishCodeCoverageResults@1
displayName: Publish code coverage
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: ./test/TestResults/output/coverage.cobertura.xml
displayName: Publish code coverage
summaryFileLocation: ./test/TestResults/output/coverage.$(framework).cobertura.xml

- job: CmdBuild
displayName: "Build"
Expand Down

0 comments on commit 8e5b8fb

Please sign in to comment.