From 92d1dc0c7f2c3beddd8105648b109e8488e905d7 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 23 Dec 2019 17:20:17 -0600 Subject: [PATCH] revert changes and run example tests once --- examples/test_examples.py | 4 +--- scripts/ci_script.sh | 6 ------ 2 files changed, 1 insertion(+), 9 deletions(-) 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