Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #129 +/- ##
==========================================
+ Coverage 95.64% 96.26% +0.62%
==========================================
Files 30 30
Lines 1606 1606
Branches 233 233
==========================================
+ Hits 1536 1546 +10
+ Misses 40 35 -5
+ Partials 30 25 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This reverts commit 0e970c0.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates CI and Codecov configuration to publish separate coverage reports for unit tests and integration tests, addressing issue #128 and improving visibility into coverage by test layer.
Changes:
- Split GitHub Actions coverage execution into dedicated unit/integration
dotnet testruns and upload each report to Codecov with distinct flags. - Add a local PowerShell helper script to generate separate HTML coverage reports for unit/integration tests.
- Add a small helper API (
ExistsInCurrentDirectory) plus a corresponding unit test, and introducecodecov.yml+ ignore local coverage/tool artifacts.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/Biak.ConsoleApp.UnitTests/Helpers/BiakConfigHelperTests.cs | Adds a test for new config-existence helper (needs determinism improvements). |
| src/Biak.ConsoleApp/Helpers/BiakConfigHelper.cs | Adds ExistsInCurrentDirectory() helper (minor maintainability refactor recommended). |
| generate-coverage-reports.ps1 | New script to generate separate unit/integration HTML coverage reports (needs cross-platform tool name handling). |
| codecov.yml | New Codecov config defining separate unit/integration flags and project status behavior. |
| .gitignore | Ignores local tool directory and generated coverage report output. |
| .github/workflows/codecov.yml | Splits coverage runs and uploads flagged reports to Codecov (normalization steps should fail fast if coverage output is missing). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue: #128