-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code coverage with coverlet and codecov (#3004)
* Added Coverlet to Sentry.Tests (experimental) * Moved coverlet config to Directory.Build.props * Added parameter to dotnet test so code coverage is collected * Added github action to upload code coverage to codecov (currently disabled) * Update .github/workflows/build.yml * Update .github/workflows/build.yml * Update .github/workflows/build.yml * badge * Update .github/workflows/build.yml * Apply suggestions from code review * Update test/Directory.Build.props * fetch depth 2 * Update .gitignore * Switched back to opencover output format * Codecov informational only --------- Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
- Loading branch information
1 parent
f63da1d
commit cfad9a5
Showing
7 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
dotnet build Sentry.sln -c Release | ||
dotnet test Sentry.sln -c Release --no-build | ||
dotnet test Sentry.sln -c Release --no-build /p:CollectCoverage=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
dotnet build Sentry.sln -c Release | ||
dotnet test Sentry.sln -c Release --no-build | ||
dotnet test Sentry.sln -c Release --no-build /p:CollectCoverage=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters