Skip to content

Conversation

@martincostello
Copy link
Owner

Use Codecov's test analytics feature.

Use Codecov's test analytics feature.
@martincostello martincostello added enhancement New feature or request dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code .NET Pull requests that update .net code labels Apr 18, 2025
Copilot AI review requested due to automatic review settings April 18, 2025 14:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR integrates Codecov’s test analytics feature into the CI pipeline by updating the upload coverage step and adding a new step for test results.

  • Modified the Codecov coverage upload step to include explicit "with" parameters.
  • Introduced a new "Upload test results to Codecov" step with a conditional "if" clause to prevent execution on cancelled builds.
Files not reviewed (4)
  • Directory.Packages.props: Language not supported
  • build.ps1: Language not supported
  • tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj: Language not supported
  • tests/Logging.XUnit.v3.Tests/MartinCostello.Logging.XUnit.v3.Tests.csproj: Language not supported
Comments suppressed due to low confidence (1)

.github/workflows/build.yml:73

  • [nitpick] Consider whether the flag 'matrix.os-name' clearly indicates the target platform for Codecov uploads. If a more descriptive flag name is available or necessary for clarity, consider updating it.
flags: ${{ matrix.os-name }}

@codecov
Copy link

codecov bot commented Apr 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.57%. Comparing base (d7b1ea2) to head (af89ee3).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #901   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files          16       16           
  Lines         281      281           
  Branches       36       36           
=======================================
  Hits          277      277           
  Misses          2        2           
  Partials        2        2           
Flag Coverage Δ
linux 98.57% <ø> (ø)
macos 98.57% <ø> (+0.71%) ⬆️
windows 98.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello martincostello enabled auto-merge (rebase) April 18, 2025 14:03
@martincostello martincostello merged commit 3ef225b into main Apr 18, 2025
11 checks passed
@martincostello martincostello deleted the add-test-analytics branch April 18, 2025 14:03
peggy-quartech added a commit to bcgov/PSSG-SPDBT that referenced this pull request Aug 27, 2025
Updated
[MartinCostello.Logging.XUnit](https://github.com/martincostello/xunit-logging)
from 0.5.1 to 0.6.0.

<details>
<summary>Release notes</summary>

_Sourced from [MartinCostello.Logging.XUnit's
releases](https://github.com/martincostello/xunit-logging/releases)._

## 0.6.0

## What's Changed

* Refactor build workflow by @​martincostello in
martincostello/xunit-logging#838
* Use lint-actions-powershell by @​martincostello in
martincostello/xunit-logging#843
* Add annotations for pwsh lint by @​martincostello in
martincostello/xunit-logging#844
* Update README with logging and DI examples by @​paulomorgado in
martincostello/xunit-logging#861
* Use BuildKit by @​martincostello in
martincostello/xunit-logging#870
* Add Public API analyzers by @​martincostello in
martincostello/xunit-logging#874
* Add test analytics by @​martincostello in
martincostello/xunit-logging#901
* Add output examples by @​martincostello in
martincostello/xunit-logging#917
* Add TimeProvider by @​fiotti in
martincostello/xunit-logging#912

## New Contributors

* @​paulomorgado made their first contribution in
martincostello/xunit-logging#861
* @​fiotti made their first contribution in
martincostello/xunit-logging#912

**Full Changelog**:
martincostello/xunit-logging@v0.5.1...v0.6.0


Commits viewable in [compare
view](martincostello/xunit-logging@v0.5.1...v0.6.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=MartinCostello.Logging.XUnit&package-manager=nuget&previous-version=0.5.1&new-version=0.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peggy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request github_actions Pull requests that update GitHub Actions code .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants