Skip to content

Remove phpdbg from coverage target - #6

Merged
f3l1x merged 1 commit into
contributte:masterfrom
ohmyfelix:chore/replace-phpdbg-coverage
Mar 16, 2026
Merged

Remove phpdbg from coverage target#6
f3l1x merged 1 commit into
contributte:masterfrom
ohmyfelix:chore/replace-phpdbg-coverage

Conversation

@ohmyfelix

Copy link
Copy Markdown
Contributor

Summary

Switch the coverage target in Makefile from phpdbg to php so this repository matches the org-wide coverage runner update tracked in contributte/contributte#73.

Motivation

phpdbg is being removed from Contributte coverage targets. This keeps openapi aligned with that change and lets coverage run through the standard PHP binary when a supported coverage driver is available.

Changes

  • replace -p phpdbg with -p php in both coverage target branches
  • keep the existing coverage output behavior for local and GitHub Actions runs
  • verify the regular test suite still passes after the Makefile change

Testing

  • make tests
  • make coverage (fails locally: PHP has no Xdebug or PCOV extension, so code coverage is unavailable with php in this environment)
  • CI passes

Replace phpdbg with php in the Makefile coverage target to match the org-wide coverage runner update. Relates to contributte/contributte#73.
@codecov

codecov Bot commented Mar 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.47%. Comparing base (03347a7) to head (529eecf).
⚠️ Report is 5 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (03347a7) and HEAD (529eecf). Click for more details.

HEAD has 9 uploads less than BASE
Flag BASE (03347a7) HEAD (529eecf)
10 1
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   92.98%   85.47%   -7.51%     
==========================================
  Files          26       27       +1     
  Lines         926      888      -38     
==========================================
- Hits          861      759     -102     
- Misses         65      129      +64     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@f3l1x
f3l1x marked this pull request as ready for review March 16, 2026 19:10
@f3l1x
f3l1x merged commit 3efc895 into contributte:master Mar 16, 2026
9 of 10 checks passed
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.

2 participants