diff --git a/examples/test_examples.py b/examples/test_examples.py index 96901eca4d4f..12c624b6fc1d 100644 --- a/examples/test_examples.py +++ b/examples/test_examples.py @@ -11,7 +11,6 @@ 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')): diff --git a/scripts/ci_script.sh b/scripts/ci_script.sh index 719e7e9982ce..cc8df07a60c7 100644 --- a/scripts/ci_script.sh +++ b/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