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
@@ -76,7 +78,7 @@ Before sending us a pull request, please ensure that:
76
78
1. Install tox using `pip install tox`
77
79
1. Install coverage using `pip install .[test]`
78
80
1. cd into the sagemaker-python-sdk folder: `cd sagemaker-python-sdk` or `cd /environment/sagemaker-python-sdk`
79
-
1. Run the following tox command and verify that all code checks and unit tests pass: `tox tests/unit`
81
+
1. Run the following tox command and verify that all code checks and unit tests pass: `tox -- tests/unit`
80
82
1. You can also run a single test with the following command: `tox -e py310 -- -s -vv <path_to_file><file_name>::<test_function_name>`
81
83
1. You can run coverage via runcvoerage env : `tox -e runcoverage -- tests/unit` or `tox -e py310 -- tests/unit --cov=sagemaker --cov-append --cov-report xml`
82
84
* Note that the coverage test will fail if you only run a single test, so make sure to surround the command with `export IGNORE_COVERAGE=-` and `unset IGNORE_COVERAGE`
0 commit comments