Skip to content

Commit

Permalink
Tighten coverage scope
Browse files Browse the repository at this point in the history
Just include Swashbuckle assemblies in coverage, so exclude all the test websites etc.
  • Loading branch information
martincostello committed Apr 3, 2024
1 parent 4e72a0b commit 03c79b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<CoverletOutputFormat Condition=" '$(GITHUB_ACTIONS)' != '' ">$(CoverletOutputFormat),opencover</CoverletOutputFormat>
<Exclude>[System.*]*,[*.Test*]*,[xunit.*]*</Exclude>
<ExcludeByAttribute>GeneratedCodeAttribute</ExcludeByAttribute>
<Include>[Swashbuckle.*]*</Include>
<Threshold></Threshold>
</PropertyGroup>
</Project>

0 comments on commit 03c79b1

Please sign in to comment.