Repository navigation
test: probe the Codecov setup with uncovered source - #69
Closed
Jozsef Damokos (jozsefdamokos) wants to merge 1 commit into
Closed
Jozsef Damokos (jozsefdamokos) wants to merge 1 commit into
Jozsef Damokos (jozsefdamokos) wants to merge 1 commit into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## fix/phpunit-bootstrap-exit-code #69 +/- ##
=====================================================================
- Coverage 34.83% 34.75% -0.09%
- Complexity 2337 2346 +9
=====================================================================
Files 437 438 +1
Lines 8561 8581 +20
=====================================================================
Hits 2982 2982
- Misses 5579 5599 +20 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Adds one class with about twenty uncovered lines and no test, so the upload carries a patch whose coverage is 0%. Do not merge.
Jozsef Damokos (jozsefdamokos)
force-pushed
the
test/probe-codecov-coverage
branch
from
September 9, 2026 21:13
23e61f0 to
367c321
Compare
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.
Probe for #68 — do not merge. Based on that branch, not on
trunk.Adds
src/CoverageProbe.php: ~20 uncovered lines with no test, so the upload carries a patch at 0% coverage.What it can prove now:
Upload coverage to Codecovstep runs on exactly one leg (mysql:8.0/ PHP 8.3) and the upload is accepted — which is also the first real test of whether the organisationCODECOV_TOKENis a global upload token rather than the platform repo's own;codecov/projectandcodecov/patchappear as commit statuses;src/CoverageProbe.phpand notcustom/plugins/SwagMigrationMagento/src/CoverageProbe.php— if they are nested,.github/codecov.ymlneeds afixes:entry.What it cannot prove yet: that a coverage drop turns the status red. Codecov has never received a report for this repository, so there is no
trunkbaseline to compare against and both statuses may come back neutral on a first upload. That part is only demonstrable once #68 has merged and onepush: trunkrun has established the baseline — at which point this branch can be re-run.Part of shopware/shopware#18667.