From 20e2b1b690b84859fdb375b2db9c416ef71a1294 Mon Sep 17 00:00:00 2001 From: bammari Date: Mon, 25 Sep 2023 12:02:43 -0400 Subject: [PATCH 1/3] Increased exection time to 500 seconds --- tests/notebooks/test_run_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/notebooks/test_run_notebooks.py b/tests/notebooks/test_run_notebooks.py index 10083768..49d15462 100644 --- a/tests/notebooks/test_run_notebooks.py +++ b/tests/notebooks/test_run_notebooks.py @@ -12,7 +12,7 @@ def _test_run_notebook(folder, notebook_fname, n_cells): # change to notebook directory to allow testing cwd = os.getcwd() os.chdir(os.path.join(this_file_dir(), "..", "..", "docs", "notebooks", folder)) - with testbook(notebook_fname, timeout=300, execute=True) as tb: + with testbook(notebook_fname, timeout=500, execute=True) as tb: assert tb.code_cells_executed == n_cells os.chdir(cwd) From 57cf3b4b32222bedc0f35d28b9dcfe0fc0be0afc Mon Sep 17 00:00:00 2001 From: bammari Date: Mon, 25 Sep 2023 12:59:58 -0400 Subject: [PATCH 2/3] Recommit to run CI --- tests/notebooks/test_run_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/notebooks/test_run_notebooks.py b/tests/notebooks/test_run_notebooks.py index 49d15462..4a7a104c 100644 --- a/tests/notebooks/test_run_notebooks.py +++ b/tests/notebooks/test_run_notebooks.py @@ -9,7 +9,7 @@ # TODO: These will be replaced with stronger tests using testbook soon def _test_run_notebook(folder, notebook_fname, n_cells): - # change to notebook directory to allow testing + # change to notebook directory to allow for testing cwd = os.getcwd() os.chdir(os.path.join(this_file_dir(), "..", "..", "docs", "notebooks", folder)) with testbook(notebook_fname, timeout=500, execute=True) as tb: From b02e6562974d9728723dd1aaa245aec1f7af1cfb Mon Sep 17 00:00:00 2001 From: bammari Date: Thu, 28 Sep 2023 10:48:15 -0400 Subject: [PATCH 3/3] Trying CI again --- tests/notebooks/test_run_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/notebooks/test_run_notebooks.py b/tests/notebooks/test_run_notebooks.py index 4a7a104c..c9b44574 100644 --- a/tests/notebooks/test_run_notebooks.py +++ b/tests/notebooks/test_run_notebooks.py @@ -9,7 +9,7 @@ # TODO: These will be replaced with stronger tests using testbook soon def _test_run_notebook(folder, notebook_fname, n_cells): - # change to notebook directory to allow for testing + # Change to notebook directory to allow for testing cwd = os.getcwd() os.chdir(os.path.join(this_file_dir(), "..", "..", "docs", "notebooks", folder)) with testbook(notebook_fname, timeout=500, execute=True) as tb: