-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[workflow] only report coverage for changed files #2524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[workflow] only report coverage for changed files #2524
Conversation
Your pre-commit check failed, follow the steps to run pre-commit on your file for code style consistency.
View your job at https://github.com/hpcaitech/ColossalAI/actions/runs/4039789704. |
Your pre-commit check failed, follow the steps to run pre-commit on your file for code style consistency.
View your job at https://github.com/hpcaitech/ColossalAI/actions/runs/4039797950. |
f91ea02
to
a036ddd
Compare
The code coverage for the changed files is 15% Click me to view the complete report
|
The comment above is the sample report provided by this CI. It will only include the report for changed files. |
Issue Number
Fixed #2530 .
What does this PR do?
This PR modified the behavior of the test coverage report in CI. It only reports coverage rate for the changed files in a PR now so that the develop knows whether his/her changes are tested sufficiently. A sample report is given below.