[10.x] Add Coveralls CI workflow for test coverage reporting #53651
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.
Description
This Pull Request introduces a new GitHub Actions workflow to integrate Coveralls for automated test coverage reporting. The workflow is added under
.github/workflows/coveralls.yml
. It is designed to provide detailed code coverage metrics for pull requests and the main branches.Benefit to End Users
The inclusion of Coveralls enhances the development workflow by providing:
These benefits ensure a more robust and reliable Laravel framework for developers and end users alike.
Implementation Details
coveralls
master
branch and branches matching the*.x
pattern.ubuntu-24.04
with a matrix of PHP versions (8.2
,8.3
,8.4
) and PHPUnit versions (10.5.12
,11.3.2
).phpunit
and generates a Clover coverage report.php-coveralls
library.The workflow does not interfere with existing configurations and complements the current CI/CD processes.
Why It Doesn't Break Existing Features
How It Makes Building Web Applications Easier
By integrating Coveralls, contributors can:
Tests
No additional feature tests are required for this change since it pertains to CI workflow. However: