diff --git a/.github/codecov.yml b/.github/codecov.yml index df54634a71..fe5e59bc42 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -23,6 +23,25 @@ comment: require_changes: no ignore: - - "**.md" + - "**/*.md" - "src/OpenTelemetry.Contrib.Shared" # copied from main OTel project and has code coverage there - - "test/**/*" + - "test" + - "examples" + - "build" + +flags: + unittests: + carryforward: true + paths: + - "src" + + unittests-Exporter.OneCollector: + carryforward: true + paths: + - src/OpenTelemetry.Exporter.OneCollector + + unittests-Instrumentation.Process: + carryforward: true + paths: + - src/OpenTelemetry.Instrumentation.Process + diff --git a/.github/workflows/ci-Exporter.OneCollector.yml b/.github/workflows/ci-Exporter.OneCollector.yml index 0ba3a3a4aa..7af1185e2c 100644 --- a/.github/workflows/ci-Exporter.OneCollector.yml +++ b/.github/workflows/ci-Exporter.OneCollector.yml @@ -53,5 +53,5 @@ jobs: with: file: TestResults/Cobertura.xml env_vars: OS,TFM - flags: Exporter.OneCollector.unittests + flags: unittests-Exporter.OneCollector name: Code Coverage for Exporter.OneCollector on [${{ matrix.os }}.${{ matrix.version }}] diff --git a/.github/workflows/ci-Instrumentation.Process.yml b/.github/workflows/ci-Instrumentation.Process.yml index ad33740348..d0db0b9c39 100644 --- a/.github/workflows/ci-Instrumentation.Process.yml +++ b/.github/workflows/ci-Instrumentation.Process.yml @@ -53,5 +53,5 @@ jobs: with: file: TestResults/Cobertura.xml env_vars: OS,TFM - flags: Instrumentation.Process.unittests + flags: unittests-Instrumentation.Process name: Code Coverage for Instrumentation.Process on [${{ matrix.os }}.${{ matrix.version }}] diff --git a/opentelemetry-dotnet-contrib.sln b/opentelemetry-dotnet-contrib.sln index 5c68b27861..18622206c3 100644 --- a/opentelemetry-dotnet-contrib.sln +++ b/opentelemetry-dotnet-contrib.sln @@ -9,6 +9,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution items", "Solution items", "{07AA0F83-22F6-4B8C-921D-029D3384CB17}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig + CODEOWNERS = CODEOWNERS CONTRIBUTING.md = CONTRIBUTING.md global.json = global.json NuGet.config = NuGet.config @@ -18,8 +19,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution items", "Solution EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{1A06E14B-DD2F-4536-9D2E-F708C0C43555}" ProjectSection(SolutionItems) = preProject - CODEOWNERS = CODEOWNERS + .github\codecov.yml = .github\codecov.yml .github\component_owners.yml = .github\component_owners.yml + .github\dependabot.yml = .github\dependabot.yml + .github\PULL_REQUEST_TEMPLATE.md = .github\PULL_REQUEST_TEMPLATE.md EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{43CAFE52-F329-4431-87DA-7FEE1454D9A9}"