-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
ci: add jest-junit #6322
ci: add jest-junit #6322
Conversation
Sorta ref #3536 |
Huh, didn't work. Maybe https://circleci.com/docs/2.0/configuration-reference/#store_test_results? I'll look into it tomorrow or something, sleep time now |
Codecov Report
@@ Coverage Diff @@
## master #6322 +/- ##
=======================================
Coverage 63.89% 63.89%
=======================================
Files 228 228
Lines 8705 8705
Branches 3 3
=======================================
Hits 5562 5562
Misses 3142 3142
Partials 1 1 Continue to review full report at Codecov.
|
lol, love how there is documentation for how to use Jest that we are using on.. Jest. |
if that works that'll be my new favorite feature! |
Should do the same for eslint, I guess: https://www.viget.com/articles/using-junit-on-circleci-2-0-with-jest-and-eslint/ maybe even flow? idk if they have a junit report |
@SimenB it looks like perhaps circle-ci's docs are not correct for the jest section? In the store_test_results section it shows that the xml file needs to be named results.xml. So perhaps if you rename it from js-test-results.xml to results.xml it will pick it up. |
https://circleci.com/build-insights/gh/facebook/jest/master I guess that last one will be populated once we merge this to master |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
In theory should give us a nice dash of test status: https://circleci.com/docs/2.0/collect-test-data/#jest
Test plan
Take a look at fancy dashboard?