-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Generate separate coverage reports for frontend and backend #7151
Conversation
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.
LGTM! Thanks, @lilithxxx. Now that #7152 is in, can you please remove the TODO assigned to you above, in the frontend tests section so that we can get this in?
Hi @lilithxxx. Due to recent changes in the "develop" branch, this PR now has a merge conflict. Please follow this link if you need help resolving the conflict, so that the PR can be merged. Thanks! |
@apb7 Done |
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.
Hi @lilithxxx, can you add a codecov badge for front-end tests coverage? Also, I think we're waiting for your response on the corresponding email thread (I don't think we can merge this PR until we resolve the issue mentioned by Sean in the email thread).
Codecov Report
@@ Coverage Diff @@
## develop #7151 +/- ##
========================================
Coverage 89.33% 89.33%
========================================
Files 1198 1198
Lines 96869 96869
Branches 2471 2471
========================================
Hits 86534 86534
Misses 9823 9823
Partials 512 512
|
Codecov Report
@@ Coverage Diff @@
## develop #7151 +/- ##
===========================================
- Coverage 98.81% 89.42% -9.38%
===========================================
Files 381 1204 +823
Lines 64562 98345 +33783
Branches 0 2635 +2635
===========================================
+ Hits 63791 87943 +24152
- Misses 771 9768 +8997
- Partials 0 634 +634
|
Since this was resolved in the thread, I think we can merge now. @lilithxxx, could you please add the badge to the README so we can merge? |
Hi @lilithxxx. Due to recent changes in the "develop" branch, this PR now has a merge conflict. Please follow this link if you need help resolving the conflict, so that the PR can be merged. Thanks! |
@apb7 what do you say?
|
Just a note -- @kevinlee12 is now leading the dev workflow team, taking over from @apb7 . Adding him here and assigning him for a response. Thanks! |
@lilithxxx, does the entire coverage accumulate both frontend and backend? |
@kevinlee12 do you mean the coverage on codecov website? If so, then yes. This PR actually will enforce two separate checks and two separate coverage reports |
808781f
to
aa703ae
Compare
Ah, my point was to your question for Apurv about adding a badge for the entire project. Are you planning to add one badge or two badges? |
Apurv said to add a badge for the front-end and we can't do that. We can only add a badge for the entire coverage. Should I do that? |
If it’s for the entire codebase, let’s go ahead with that. |
@kevinlee12 Done! |
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.
lgtm, thanks @lilithxxx!
@DubeySandeep, code owner review please! |
Dismissing Apurv's review since I'm taking over.
Explanation
Generate separate coverage reports for frontend and backend. This PR also tries to compare coverage of the PR with the base(develop branch) and not the head.
Checklist
python scripts/pre_commit_linter.py
andbash scripts/run_frontend_tests.sh
.