Skip to content

Commit

Permalink
revert changes and run example tests once
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Silvester committed Dec 24, 2019
1 parent 929558c commit 92d1dc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 1 addition & 3 deletions examples/test_examples.py
Expand Up @@ -11,7 +11,6 @@
import argparse
import glob
import os.path as osp
import shutil
import subprocess
import sys
import tempfile
Expand Down Expand Up @@ -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')):
Expand Down
6 changes: 0 additions & 6 deletions scripts/ci_script.sh
Expand Up @@ -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

Expand Down

0 comments on commit 92d1dc0

Please sign in to comment.