-
Notifications
You must be signed in to change notification settings - Fork 36
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
[Doc] Update CONTRIBUTING.md by adding command for running tests to PR directions #335
[Doc] Update CONTRIBUTING.md by adding command for running tests to PR directions #335
Conversation
Signed-off-by: Nicholas Ung <nicholasung22@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #335 +/- ##
=======================================
Coverage 87.08% 87.08%
=======================================
Files 16 16
Lines 209 209
Branches 43 43
=======================================
Hits 182 182
Misses 26 26
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Thanks for picking this up @nung22, great initiative. Left some nit-picks to fix, mostly just to be a bit more descriptive.
CONTRIBUTING.md
Outdated
@@ -31,7 +31,7 @@ To send us a pull request, please: | |||
|
|||
1. Fork the repository. | |||
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change. | |||
3. Ensure local tests pass. | |||
3. Ensure local tests pass by running `yarn test -u`. |
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.
We could be a little bit more descriptive here. Could you add a bit that mentions why we need to add the -u
tag? I.e., what it does and why do the snapshots need updating
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.
Thanks for the input @sejli! Just added more details per your suggestions.
Signed-off-by: Nicholas Ung <nicholasung22@gmail.com>
Signed-off-by: Nicholas Ung <nicholasung22@gmail.com>
…R directions (#335) * Add command for running tests to PR directions Signed-off-by: Nicholas Ung <nicholasung22@gmail.com> * Add more details about -u tag Signed-off-by: Nicholas Ung <nicholasung22@gmail.com> * Add reason for snapshot updates Signed-off-by: Nicholas Ung <nicholasung22@gmail.com> --------- Signed-off-by: Nicholas Ung <nicholasung22@gmail.com> (cherry picked from commit 77db981) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…R directions (#335) (#347) * Add command for running tests to PR directions * Add more details about -u tag * Add reason for snapshot updates --------- (cherry picked from commit 77db981) Signed-off-by: Nicholas Ung <nicholasung22@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Updates the
CONTRIBUTING.md
file with more details by including the command to run local tests.Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.