Skip to content

Miscellaneous improvements: code coverage, documentation, and build enhancements#21

Merged
alexdresko merged 10 commits into
masterfrom
misc/improvements
Dec 19, 2025
Merged

Miscellaneous improvements: code coverage, documentation, and build enhancements#21
alexdresko merged 10 commits into
masterfrom
misc/improvements

Conversation

@alexdresko

Copy link
Copy Markdown
Owner

This PR includes several improvements to the project:

Changes

  • Code Coverage: Added Codecov integration for test coverage reporting
  • Documentation: Updated README with NuGet status badges and improved build quality section
  • GitHub Copilot: Added instructions for repository operations and code style
  • Changelog: Restored changelog section with fork history and Scrutor improvements
  • Release Process: Injected Release Please notes into NuGet package metadata
  • Build: Resolved merge conflicts and improved workflow configuration

Related Issues

This PR consolidates various improvements across documentation, testing, and CI/CD processes.

Testing

  • All existing tests pass
  • Code coverage reporting has been validated with Codecov

Moves NuGet publishing logic into the Release Please workflow as a second job that only runs when a release is created. This eliminates the need for PAT tokens and complex triggering between workflows.

Benefits:
- Simpler configuration (one workflow instead of two)
- No PAT token required
- NuGet publishes automatically when release is created
- Removes the old standalone nuget-release.yml workflow
Uses the release notes generated by Release Please to populate the PackageReleaseNotes field when creating the NuGet package. This means the NuGet package page will show the actual changelog instead of just a link to GitHub releases.
…ments

Restores the comprehensive changelog that documents the journey from Scrutor.AspNetCore to EasyScrutor, including details about Scrutor dependency upgrades (v4.2.0 -> v7.0.0) with keyed service support, security fixes, and performance improvements.
Integrates Codecov to track and report test coverage metrics. Configures the GitHub Actions workflow to collect coverage data during test runs and upload results to Codecov. Updates the README to display a coverage badge for visibility.

Removes the deprecated Azure Pipelines configuration as the project has fully migrated to GitHub Actions for CI/CD.

Configures the test project to generate coverage reports in both OpenCover and Cobertura formats, excluding test assemblies and generated code from coverage calculations.
@codecov

codecov Bot commented Dec 19, 2025

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@alexdresko
alexdresko merged commit 5af3cdf into master Dec 19, 2025
4 checks passed
@alexdresko
alexdresko deleted the misc/improvements branch December 19, 2025 02:08
alexdresko added a commit that referenced this pull request Dec 19, 2025
alexdresko added a commit that referenced this pull request Dec 19, 2025
This commit acknowledges the user-facing improvements from PR #21:
- Code coverage reporting with Codecov
- Enhanced documentation with NuGet status badges
- Improved build quality with comprehensive test reporting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant