Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 944 Bytes

TESTING.md

File metadata and controls

18 lines (13 loc) · 944 Bytes

TESTING.MD

Testing your notebook in Notebooks CI:

  1. Restart your Docker container to a new pull state:
  • docker ps to see all running docker images
  • docker restart < selected docker image >
  1. In terminal, navigate to the folder containing your target notebook

  2. Fill in notebook name and run this command- bash /rapids/utils/nbtest.sh <notebook name>

  3. If it returns EXIT CODE 0, you're good to PR!
    If it returns EXIT CODE 1, please fix the issues found.

Please note:

  1. This test just ensures that the notebook will execute. This does NOT ensure that your notebooks output are what you believe they should be. Adding print statements will help you diagnose those types of issue.
  2. This test does not work with magic functions, like (functions starting with %). Please don't let your notebook's progression depend on these
  3. Our notebook tests aren't compatible with Dask based notebooks at this time