Skip to content

Commit

Permalink
enable coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertk committed Sep 16, 2023
1 parent 985d58f commit 0a9bcb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<PackageVersion Include="xunit.assemblyfixture" Version="2.2.0" />
<PackageVersion Include="xunit.assert" Version="2.5.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.0"/>
<!--<PackageVersion Include="envdte" Version="17.7.37355" />-->

</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions eng/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ trigger:
exclude: [".github", "Documentation", "*.md"]

variables:
system.debug: 'true'
EnableCoverage: 'false'
system.debug: false
EnableCoverage: true

jobs:
- job: Windows
Expand Down
2 changes: 1 addition & 1 deletion eng/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ steps:
command: test
arguments: -c $(BuildConfiguration) --no-build
testRunTitle: $(Agent.JobName)
condition: and(succeeded(), eq(variables['enableCoverage'], 'false'))
condition: and(succeeded(), ne(variables['enableCoverage'], 'true'))

- task: DotNetCoreCLI@2
displayName: Run tests with coverage
Expand Down

0 comments on commit 0a9bcb8

Please sign in to comment.