Skip to content

Commit

Permalink
Revert "Drop code coverage (#4081)"
Browse files Browse the repository at this point in the history
This reverts commit 9e1a908.
  • Loading branch information
RussKie committed Jun 19, 2023
1 parent 85c33de commit 4d7cc4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eng/pipelines/templates/BuildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ steps:
displayName: Build

- ${{ if ne(parameters.skipTests, 'true') }}:
- script: ${{ parameters.buildScript }} -test -configuration ${{ parameters.buildConfig }} /bl:${{ parameters.repoLogPath }}/tests.binlog $(_OfficialBuildIdArgs)
- script: $(Build.SourcesDirectory)/.dotnet/dotnet dotnet-coverage collect
--settings $(Build.SourcesDirectory)/eng/CodeCoverage.config
--output ${{ parameters.repoTestResultsPath }}
"${{ parameters.buildScript }} -test -configuration ${{ parameters.buildConfig }} /bl:${{ parameters.repoLogPath }}/tests.binlog $(_OfficialBuildIdArgs)"
displayName: Run tests

- pwsh: |
Expand Down

0 comments on commit 4d7cc4b

Please sign in to comment.