Skip to content

Code Coverage Upload #2387

Code Coverage Upload

Code Coverage Upload #2387

Triggered via schedule March 11, 2026 04:10
Status Failure
Total duration 40s
Artifacts

code-coverage.yml

on: schedule
Matrix: build Code coverage report
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
build Code coverage report (ubuntu-latest, 8.3, master)
Process completed with exit code 1.
build Code coverage report (ubuntu-latest, 8.3, master): app/Service/Permission/RoleService.php#L46
Call to an undefined method Hyperf\DbConnection\Model\Model::menus().
build Code coverage report (ubuntu-latest, 8.3, master): app/Repository/IRepository.php#L136
Method App\Repository\IRepository::findByFilter() should return (T of Hyperf\DbConnection\Model\Model)|null but returns Hyperf\Database\Model\Model|null.
build Code coverage report (ubuntu-latest, 8.3, master): app/Repository/IRepository.php#L123
Method App\Repository\IRepository::findById() should return (T of Hyperf\DbConnection\Model\Model)|null but returns Hyperf\Database\Model\Model|null.
build Code coverage report (ubuntu-latest, 8.3, master): app/Repository/IRepository.php#L102
Method App\Repository\IRepository::saveById() should return (T of Hyperf\DbConnection\Model\Model)|null but returns Hyperf\Database\Model\Model.
build Code coverage report (ubuntu-latest, 8.3, master): app/Model/Permission/User.php#L182
Method App\Model\Permission\User::getPolicy() should return App\Model\DataPermission\Policy|null but returns Hyperf\Database\Model\Model.
build Code coverage report (ubuntu-latest, 8.3, master)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/