CommunityToolkit / Aspire

A community project with additional components and extensions for .NET Aspire
MIT License
227 stars 29 forks source link

Code coverage reporting #152

Closed aaronpowell closed 4 weeks ago

aaronpowell commented 1 month ago

Adding code coverage reporting to the CI jobs.

Closes #111

aaronpowell commented 1 month ago

@Alirexaa - how's that looking? We can fail builds with thresholds.

I think we probably want to do 60% minimum though, so we'd be currently passing (just with some needing improvement)

aaronpowell commented 4 weeks ago

All ready now, I've created a reusable workflow and it's shared across all three workflows so that we have consistency

github-actions[bot] commented 4 weeks ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps 100% 100% 28
CommunityToolkit.Aspire.Hosting.Deno 84% 75% 72
CommunityToolkit.Aspire.Hosting.Deno.AppHost 100% 100% 2
CommunityToolkit.Aspire.Hosting.Golang 94% 50% 16
CommunityToolkit.Aspire.Hosting.Golang.AppHost 100% 100% 2
CommunityToolkit.Aspire.Hosting.Java 98% 71% 58
CommunityToolkit.Aspire.Hosting.Java.AppHost 50% 100% 2
CommunityToolkit.Aspire.Hosting.Meilisearch 44% 16% 88
CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost 50% 100% 2
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions 90% 68% 92
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.AppHost 100% 100% 2
CommunityToolkit.Aspire.Hosting.Ollama 52% 32% 154
CommunityToolkit.Aspire.Hosting.Ollama.AppHost 50% 100% 2
CommunityToolkit.Aspire.Meilisearch 97% 92% 68
CommunityToolkit.Aspire.OllamaSharp 92% 80% 30
CommunityToolkit.Aspire.StaticWebApps.AppHost 100% 100% 2
CommunityToolkit.Aspire.Testing 54% 50% 446
Summary 68% (1666 / 2458) 53% (408 / 776) 1066

Minimum allowed line rate is 60%