Skip to content
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: add git workflow for tests coverage #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

syedsajjadkazmii
Copy link
Contributor

Description

This PR adds a github workflow for test coverage using jest

How Has This Been Tested?

By comment on PR

@syedsajjadkazmii syedsajjadkazmii force-pushed the sajjad/git-workflow-test-coverage branch from e8dc6bf to 7accb47 Compare May 22, 2024 13:02
Copy link

github-actions bot commented May 22, 2024

Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 82%
82.11% (537/654) 76.57% (170/222) 71.97% (113/157)
Coverage by files (82%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files82.1176.5771.9782.34 
src0000 
   index.jsx0000 
src/authn-component98.0791.6610097.87 
   index.jsx98.0791.6610097.8780
src/authn-component/data10075100100 
   reducers.js100100100100 
   sagas.js100100100100 
   selectors.js100100100100 
   service.js1005010010028
   utils.js100100100100 
src/base-container100100100100 
   index.jsx100100100100 
src/common-ui100100100100 
   index.js0000 
   messages.js100100100100 
src/common-ui/InlineLink100100100100 
   index.jsx100100100100 
src/common-ui/SocialAuthButtons100100100100 
   constants.jsx100100100100 
   index.jsx100100100100 
src/config0000 
   index.js0000 
src/data93.7583.3310093.54 
   configureStore.js7566.661007515–18
   constants.js100100100100 
   reducers.js100100100100 
   sagas.js100100100100 
   utils.js100100100100 
src/forms0000 
   index.jsx0000 
src/forms/common-components100100100100 
   AuthenticatedRedirection.jsx100100100100 
   ThirdPartyAuthAlert.jsx100100100100 
   messages.jsx100100100100 
src/forms/enterprise-sso-popup73.68754073.68 
   index.jsx72.22754072.2228–29, 53–81
   messages.js100100100100 
src/forms/enterprise-sso-popup/data856010085 
   constants.js100100100100 
   utils.js83.336010083.3323–25
src/forms/fields/email-field100100100100 
   index.jsx100100100100 
src/forms/fields/marketing-email-opt-out-field100100100100 
   index.jsx100100100100 
   messages.jsx100100100100 
src/forms/fields/password-field78.945033.3383.33 
   index.jsx77.775033.3382.3541–44
   messages.jsx100100100100 
src/forms/fields/text-field100100100100 
   index.jsx100100100100 
   messages.jsx100100100100 
src/forms/login-popup100100100100 
   index.jsx100100100100 
   messages.js100100100100 
src/forms/login-popup/components10096.77100100 
   AccountActivationMessage.jsx100100100100 
   LoginFailureAlert.jsx10094.11100100125
src/forms/login-popup/data10083.33100100 
   constants.js100100100100 
   hooks.js100100100100 
   reducers.js100100100100 
   sagas.js10083.3310010025
   service.js1007510010029
src/forms/progressive-profiling-popup14.280018.18 
   index.jsx7.69001021–149
   messages.js100100100100 
src/forms/progressive-profiling-popup/data100100100100 
   constants.js100100100100 
src/forms/progressive-profiling-popup/data/hooks010000 
   useSubjectList.jsx0100009–51
src/forms/registration-popup85.297557.1483.87 
   honorCodeAndTOS.jsx100100100100 
   index.jsx83.337553.8481.4864–65, 166–189
   messages.jsx100100100100 
src/forms/registration-popup/data35.48014.2835.48 
   constants.js100100100100 
   reducers.js41.66100041.6625–35
   sagas.js100501016–33
   service.js000012–27
src/forms/reset-password-popup100100100100 
   ResetPasswordHeader.jsx100100100100 
   messages.js100100100100 
src/forms/reset-password-popup/forgot-password10094.11100100 
   ForgotPasswordFailureAlert.jsx100100100100 
   ForgotPasswordSuccess.jsx100100100100 
   index.jsx1009010010039
src/forms/reset-password-popup/forgot-password/data100100100100 
   reducers.js100100100100 
   sagas.js100100100100 
   service.js100100100100 
   utils.js100100100100 
src/forms/reset-password-popup/reset-password0000 
   ResetPasswordFailure.jsx000012–26
   ResetPasswordPage.jsx000014–109

uses: MishaKav/jest-coverage-comment@main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it not be of the master branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants