• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bleedingdeacons / reach / 29962892324
86%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2026 10:28PM UTC
Jobs 1
Files 48
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jul 2026 10:27PM UTC coverage: 90.934% (+57.2%) from 33.755%
29962892324

push

github

web-flow
test: raise coverage to ~90% (wp_mock 1.1.1 / phpunit 9.6) (#27)

* test: raise coverage to ~90% on wp_mock 1.1.1 / phpunit 9.6

Standardise Reach's test tooling on the rest of the suite and lift line
coverage from ~42% to ~90% (measured over src minus src/Admin), without
touching any production code.

Tooling
- composer: pin phpunit ^9.6|^10.0, add 10up/wp_mock 1.1.1 + mockery,
  add test:unit and test:coverage scripts (mirrors Integrity).
- phpunit.xml.dist: 9.6 schema with a <coverage> block including src and
  excluding src/Admin (the same call Integrity makes).
- bootstrap.php: load the Composer autoloader + WP_Mock::bootstrap()
  alongside the existing hand-rolled WP stubs; add the extra WP function
  stubs, hook/route capture, dbDelta, and the Unity Container /
  MemberViewFactory and Scrutiny PersonalData* shims the new tests need.
- SettingsOutOfHoursTest: rename the at() helper (collided with PHPUnit
  9.6's TestCase::at()).
- .gitignore: ignore the local tests/coverage HTML report.

New tests cover the OAuth providers and controller, password-auth flow,
call-attempt/-request controllers, JWT verifier edge cases, geocoder,
resolver, settings secret encryption, the DI wiring (ReachServiceProvider
+ Plugin), route registration, and the wpdb repositories' write paths —
security-relevant behaviour throughout (CSRF state, email_verified gate,
attempt-token binding, secret-at-rest encryption, PII-free audit detail).

CI already generates the Clover report and uploads it to Coveralls.

* fix(ci): resolve dev deps for PHP 8.1

The lock was generated on PHP 8.5 and pulled doctrine/instantiator 2.1.0
(requires PHP ^8.4), which failed `composer install` on CI's PHP 8.1.

Set config.platform.php = 8.1 so dependency resolution targets the
project's declared minimum (composer require: "php": ">=8.1") regardless
of the dev machine's PHP, and re-locked — doctrine/instantiator drops to
2.0.0 (PHP ^8.1). Prevents this class of newer-dev-PHP lock drift.

2307 of 2537 relevant lines covered (90.93%)

6.1 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
0.0
-50.0% reach/reach/src/CallRequests/CallRequestRepository.php
Jobs
ID Job ID Ran Files Coverage
1 29962892324.1 22 Jul 2026 10:28PM UTC 48
90.93
GitHub Action Run
Source Files on build 29962892324
  • Tree
  • List 48
  • Changed 26
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29962892324
  • 8ad15d96 on github
  • Prev Build on main (#29915956909)
  • Next Build on main (#30021747242)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc