Skip to content

Commit

Permalink
Fix tests coverage regression bug in .NET 7.0.100
Browse files Browse the repository at this point in the history
The coverlet msbuild doesn't work and thus the tests coverage report is not generated.
It is a temporarily bug cause in .NET 7.0.100 version and will be fixed in .NET 7.0.101.

For more info follow the issues:
- [coverlet.msbuild not working on .net 7](coverlet-coverage/coverlet#1391)
- [dotnet test does not forward MSBuild properties to msbuild in .NET 7 RC1]microsoft/vstest#4014
  • Loading branch information
MichaelZaslavsky committed Nov 22, 2022
1 parent c668537 commit 40dc8d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SocialEventManager/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ services:
- Email__UserName=${EMAIL__USERNAME}
- Email__Password=${EMAIL__PASSWORD}
- Email__Host=${EMAIL__HOST}
- CollectCoverage=true
- CoverletOutputFormat=lcov
volumes:
- .:/home/runner/work/social-event-manager/social-event-manager/SocialEventManager
- .:/tests
Expand Down

0 comments on commit 40dc8d1

Please sign in to comment.