Browse Source

revert changes and run example tests once

Steven Silvester 5 years ago
parent
commit
92d1dc0c7f
2 changed files with 1 additions and 9 deletions
  1. 1 3
      examples/test_examples.py
  2. 0 6
      scripts/ci_script.sh

+ 1 - 3
examples/test_examples.py

@@ -11,7 +11,6 @@ checked before the browser.close() call).
 import argparse
 import glob
 import os.path as osp
-import shutil
 import subprocess
 import sys
 import tempfile
@@ -45,9 +44,8 @@ def main():
     for path in sorted(paths):
         if osp.basename(path) == 'node':
             with tempfile.TemporaryDirectory() as cwd:
-                shutil.copytree(path, cwd)
                 header(path)
-                runner = osp.join(cwd, 'main.py')
+                runner = osp.join(path, 'main.py')
                 subprocess.check_call([sys.executable, runner], cwd=cwd)
                 count += 1
         elif osp.exists(osp.join(path, 'main.py')):

+ 0 - 6
scripts/ci_script.sh

@@ -180,12 +180,6 @@ if [[ $GROUP == usage ]]; then
     env JUPYTERLAB_DIR=./link_app_dir jupyter lab path | grep link_app_dir
     popd
 
-    # Build the examples.
-    jlpm run build:examples
-
-    # Test the examples
-    jlpm run test:examples
-
     # Make sure we can successfully load the dev app.
     python -m jupyterlab.browser_check --dev-mode