Upload coverage report#243
Conversation
Added code coverage report generation using PHPUnit and integrated it with Codecov. This ensures better visibility and tracking of test coverage in the CI pipeline.
Added a missing newline at the end of the file to adhere to coding standards and improve compatibility. This ensures consistent behavior across different systems and tools.
There was a problem hiding this comment.
Pull Request Overview
This PR updates the CI workflow to generate and upload a code coverage report.
- The PHPUnit command now includes the "--coverage-clover=coverage.xml" flag to produce a coverage report.
- The Codecov action is configured to upload the "coverage.xml" file.
|
Thank you @koriym . Very helpful. |
|
We need to update the README.md to have the badge. Currently it seems not showing the coverage when I tried via url |
https://github.com/auraphp/Aura.Sql/actions/runs/14549881194/job/40819810083 |
|
So this need a token in https://github.com/auraphp/Aura.Sql/blob/6.x/codecov.yml , right ? |
|
Not with this file. See https://docs.codecov.com/docs/adding-the-codecov-token |
No description provided.