You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Optimizing tests for less model upload calls
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
(cherry picked from commit 7106d20)
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+7-4
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,13 @@ To send us a pull request, please:
31
31
32
32
1. Fork the repository.
33
33
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.
34
-
3. Ensure local tests pass.
35
-
4. Commit to your fork using clear commit messages.
36
-
5. Send us a pull request, answering any default questions in the pull request interface.
37
-
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
34
+
3. Include tests that check your new feature or bug fix. Ideally, we're looking for unit, integration, and BWC tests, but that depends on how big and critical your change is.
35
+
If you're adding an integration test and it is using local ML models, please make sure that the number of model deployments is limited, and you're using the smallest possible model.
36
+
Each model deployment consumes resources, and having too many models may cause unexpected test failures.
37
+
4. Ensure local tests pass.
38
+
5. Commit to your fork using clear commit messages.
39
+
6. Send us a pull request, answering any default questions in the pull request interface.
40
+
7. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
38
41
39
42
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
40
43
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
0 commit comments