mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 03:23:00 +00:00
Add automatic checks
This commit is contained in:
@@ -21,7 +21,10 @@ def test_nbconvert(container, test_file):
|
||||
output_dir = "/tmp"
|
||||
timeout_ms = 600
|
||||
LOGGER.info(f"Test that {test_file} notebook can be executed ...")
|
||||
command = f"jupyter nbconvert --to markdown --ExecutePreprocessor.timeout={timeout_ms} --output-dir {output_dir} --execute {cont_data_dir}/{test_file}.ipynb"
|
||||
command = "jupyter nbconvert --to markdown " + \
|
||||
f"--ExecutePreprocessor.timeout={timeout_ms}" + \
|
||||
f"--output-dir {output_dir}" +\
|
||||
f"--execute {cont_data_dir}/{test_file}.ipynb"
|
||||
c = container.run(
|
||||
volumes={host_data_dir: {"bind": cont_data_dir, "mode": "ro"}},
|
||||
tty=True,
|
||||
|
Reference in New Issue
Block a user