From 41998d34ce0433054e7189485e0a1bddc3eef59b Mon Sep 17 00:00:00 2001 From: Will Rogers Date: Wed, 28 Jun 2023 12:54:03 -0400 Subject: [PATCH] Add codecov.yml with components --- XO.Diagnostics.Bugsnag.OpenTelemetry/README.md | 1 - XO.Diagnostics.Bugsnag/README.md | 1 - XO.Diagnostics.sln | 3 ++- codecov.yml | 11 +++++++++++ 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 codecov.yml diff --git a/XO.Diagnostics.Bugsnag.OpenTelemetry/README.md b/XO.Diagnostics.Bugsnag.OpenTelemetry/README.md index b0414a4..5af75fe 100644 --- a/XO.Diagnostics.Bugsnag.OpenTelemetry/README.md +++ b/XO.Diagnostics.Bugsnag.OpenTelemetry/README.md @@ -2,7 +2,6 @@ [![NuGet](https://img.shields.io/nuget/v/XO.Diagnostics.Bugsnag.OpenTelemetry)](https://www.nuget.org/packages/XO.Diagnostics.Bugsnag.OpenTelemetry) [![GitHub Actions Status](https://img.shields.io/github/actions/workflow/status/xo-energy/XO.Diagnostics/ci.yml?branch=main&logo=github)](https://github.com/xo-energy/XO.Diagnostics/actions/workflows/ci.yml) -[![codecov](https://codecov.io/gh/xo-energy/XO.Diagnostics/branch/main/XO.Diagnostics.Bugsnag.OpenTelemetry/graph/badge.svg?token=AbiIYmAaeS)](https://codecov.io/gh/xo-energy/XO.Diagnostics) Exports OpenTelemetry traces to [BugSnag](https://www.bugsnag.com/). diff --git a/XO.Diagnostics.Bugsnag/README.md b/XO.Diagnostics.Bugsnag/README.md index 861beb7..21fbe82 100644 --- a/XO.Diagnostics.Bugsnag/README.md +++ b/XO.Diagnostics.Bugsnag/README.md @@ -2,7 +2,6 @@ [![NuGet](https://img.shields.io/nuget/v/XO.Diagnostics.Bugsnag)](https://www.nuget.org/packages/XO.Diagnostics.Bugsnag) [![GitHub Actions Status](https://img.shields.io/github/actions/workflow/status/xo-energy/XO.Diagnostics/ci.yml?branch=main&logo=github)](https://github.com/xo-energy/XO.Diagnostics/actions/workflows/ci.yml) -[![codecov](https://codecov.io/gh/xo-energy/XO.Diagnostics/branch/main/XO.Diagnostics.Bugsnag/graph/badge.svg?token=AbiIYmAaeS)](https://codecov.io/gh/xo-energy/XO.Diagnostics) A simple HTTP client library for the [BugSnag](https://www.bugsnag.com/) API. For a more complete solution, see [XO.Diagnostics.Bugsnag.OpenTelemetry](../XO.Diagnostics.Bugsnag.OpenTelemetry). diff --git a/XO.Diagnostics.sln b/XO.Diagnostics.sln index 2b9c8b5..5dc82c1 100644 --- a/XO.Diagnostics.sln +++ b/XO.Diagnostics.sln @@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .editorconfig = .editorconfig .gitattributes = .gitattributes .gitignore = .gitignore + codecov.yml = codecov.yml Directory.Build.props = Directory.Build.props global.json = global.json LICENSE.txt = LICENSE.txt @@ -24,7 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{ .github\workflows\ci.yml = .github\workflows\ci.yml EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XO.Diagnostics.Tests", "XO.Diagnostics.Tests\XO.Diagnostics.Tests.csproj", "{0523D629-9711-4B0C-A856-6CE39F295A97}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XO.Diagnostics.Tests", "XO.Diagnostics.Tests\XO.Diagnostics.Tests.csproj", "{0523D629-9711-4B0C-A856-6CE39F295A97}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..c4d0ca3 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,11 @@ +component_management: + individual_components: + - component_id: "XO.Diagnostics.Bugsnag" + paths: + - "XO.Diagnostics.Bugsnag/" + - component_id: "XO.Diagnostics.Bugsnag.OpenTelemetry" + paths: + - "XO.Diagnostics.Bugsnag.OpenTelemetry/" + +comment: + layout: "header, diff, flags, components" # show component info in the PR comment