-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Output lcov for frontend coverage #7152
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
@lilithxxx, just an fyi this doesn't send the report to Code Climate, it changes the output. |
Codecov Report
@@ Coverage Diff @@
## develop #7152 +/- ##
===========================================
+ Coverage 87.01% 87.57% +0.55%
===========================================
Files 938 938
Lines 85274 82886 -2388
Branches 2710 2307 -403
===========================================
- Hits 74204 72585 -1619
+ Misses 11070 9884 -1186
- Partials 0 417 +417
Continue to review full report at Codecov.
|
So codecov report that is shown in the PR thread only contains the backend coverage now? |
Also, what was 87.01%? And where co we view the frontend coverage now? |
Yup, the coverage only reports the backend coverage at the moment. The number changed because we're not reporting the frontend coverage to codecov. (We're still figuring out what to do at the moment). |
Assigning myself for now while I await further instructions. |
@kevinlee12 -- one question: who are you awaiting instructions from? I think this PR should be assigned to that person and the ask should be clarified. |
I was awaiting a reply to that email thread - should we close this or integrate lcov with codecov? |
Frontend report with lcov report: https://codecov.io/gh/oppia/oppia/tree/9b2c558e1b9f2a6d8dac00ddd097363d8b4badd6 |
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 @kevinlee12!
Explanation
The following changes the output of the test coverage report to lcov. The old json report will no longer be reported. The location of the new report is
../karma_coverage_reports/lcov.info
.Checklist
python scripts/pre_commit_linter.py
andbash scripts/run_frontend_tests.sh
.