Skip to content

fix: missing papermill and nbconvert install breaks notebook steps - #15

Open
andrewwhitecdw wants to merge 1 commit into
NVIDIA-AI-Blueprints:mainfrom
andrewwhitecdw:bugfix/ci-missing-papermill-and-nbconvert
Open

fix: missing papermill and nbconvert install breaks notebook steps#15
andrewwhitecdw wants to merge 1 commit into
NVIDIA-AI-Blueprints:mainfrom
andrewwhitecdw:bugfix/ci-missing-papermill-and-nbconvert

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

This PR addresses the following issue in .github/workflows/ci.yml: missing papermill and nbconvert install breaks notebook steps.

Changes

  • .github/workflows/ci.yml: missing papermill and nbconvert install breaks notebook steps.

Details

--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,4 +1,4 @@
-          echo "Installing ipykernel ..."
-          python -m pip install --upgrade pip
-          pip install ipykernel
-          echo "Installing Python kernel..."
+          echo "Installing ipykernel ..."
+          python -m pip install --upgrade pip
+          pip install ipykernel papermill nbconvert
+          echo "Installing Python kernel..."

Tests

  • tests/test_ci_workflow.py
diff --git a/tests/test_ci_workflow.py b/tests/test_ci_workflow.py
new file mode 100644
index 0000000..e69ade1
--- /dev/null
+++ b/tests/test_ci_workflow.py
@@ -0,0 +1,19 @@
+import pathlib
+import unittest
+
+WORKFLOW = (
+    pathlib.Path(__file__).resolve().parent.parent
+    / ".github"
+    / "workflows"
+    / "ci.yml"
+)
+
+
+class TestCIWorkflow(unittest.TestCase):
+    def test_notebook_dependencies_installed(self):
+        text = WORKFLOW.read_text()
+        pip_lines = [
+            line.strip() for line in text.splitlines()
+            if line.strip().startswith("pip install")
+        ]
+        self.assertTrue(pip_lines, "No pip install command found in workflow")
+        installs = " ".join(pip_lines)
+        self.assertIn("papermill", installs)
+        self.assertIn("nbconvert", installs)

Signed-off-by: Andrew White <andrewwhitecdw@users.noreply.github.com>
Signed-off-by: andrewwhitecdw <andrewwhitecdw@users.noreply.github.com>
@andrewwhitecdw
andrewwhitecdw force-pushed the bugfix/ci-missing-papermill-and-nbconvert branch from 9eb0fa9 to 168f1d0 Compare August 18, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant