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

[Doc] Update CONTRIBUTING.md by adding command for running tests to PR directions #335

Merged

Conversation

nung22
Copy link
Contributor

@nung22 nung22 commented Oct 18, 2023

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.

Signed-off-by: Nicholas Ung <nicholasung22@gmail.com>
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #335 (3527e24) into main (53d6fe3) will not change coverage.
The diff coverage is n/a.

@@           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           
Flag Coverage Δ
dashboards-search-relevance 87.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@nung22 nung22 changed the title Update CONTRIBUTING.md by adding command for running tests to PR directions [Doc] Update CONTRIBUTING.md by adding command for running tests to PR directions Oct 18, 2023
Copy link
Member

@sejli sejli left a 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`.
Copy link
Member

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

Copy link
Contributor Author

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>
@macohen macohen merged commit 77db981 into opensearch-project:main Oct 19, 2023
12 checks passed
@nung22 nung22 deleted the docs/contributing/update-test-command branch October 19, 2023 22:07
github-actions bot added a commit that referenced this pull request Nov 3, 2023
…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>
sejli pushed a commit that referenced this pull request Nov 3, 2023
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants