-
Notifications
You must be signed in to change notification settings - Fork 104
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
feat(tiflow): upload tiflow ut codecoverage if test passed #2739
feat(tiflow): upload tiflow ut codecoverage if test passed #2739
Conversation
purelind
commented
Jan 10, 2024
•
edited
Loading
edited
- upload tiflow ut codecoverage if test passed
- upload code coveage in master and lts branch's pull requests
- Increase timeout for the `Tests` stage in `ghpr_verify.groovy` from 40 minutes to 50 minutes.
The pull request adds the feature to upload tiflow ut code coverage if tests pass and upload code coverage in master and lts branch. The changes involve updating environment variables and adding a script to upload code coverage. Potential problems:
Fixing suggestions:
Overall, the changes seem straightforward and do not introduce any major issues. |
The pull request adds a new feature to upload tiflow ut code coverage if the test passed. The key changes are adding the However, there are some potential problems that need to be addressed:
Fixing Suggestions:
|
we need to remove the upload step in the tiflow makefile. pingcap/tiflow#10446 |
dm_unit_test_in_verify_ci: [flags: "unit,dm", coverage_file: "/tmp/dm_test/cov.unit_test.out"], | ||
unit_test_in_verify_ci: [flags: "unit,cdc", coverage_file: "/tmp/tidb_cdc_test/cov.unit.out"], | ||
engine_unit_test_in_verify_ci: [flags: "unit,engine", coverage_file: "/tmp/engine_test/cov.unit_test.out"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ref:
Let's migrate to use flags to separate test types. components will be identified auto by file path defined in repo's codecov.yaml
file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this PR pingcap/tiflow#9252 need to be cherry-picked to other LTS branches?
But it will just upload coverage for pull request, we also need another postsubmit job to upload coverage to base branch |
Key Changes:
Potential Problems:
Fixing Suggestions:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wuhuizuo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|