Pārlūkot izejas kodu

Update release test script to also install federated extensions

Jeremy Tuloup 4 gadi atpakaļ
vecāks
revīzija
c981452219
1 mainītis faili ar 15 papildinājumiem un 8 dzēšanām
  1. 15 8
      scripts/release_test.sh

+ 15 - 8
scripts/release_test.sh

@@ -16,19 +16,26 @@ conda activate "$JLAB_TEST_ENV"
 pip install dist/*.whl
 
 cp examples/notebooks/*.ipynb $TEST_DIR/
-pushd $TEST_DIR
 
 python -m jupyterlab.browser_check
+jupyter lab clean --all
+
+pushd jupyterlab/tests/mock_packages
+jupyter labextension install mimeextension --no-build --debug
+jupyter labextension develop extension
+jupyter labextension build extension
+popd
 
-jupyter labextension install @jupyterlab/fasta-extension --no-build
-jupyter labextension install @jupyterlab/geojson-extension --no-build
-jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
-jupyter labextension install bqplot --no-build
-jupyter labextension install jupyter-leaflet --no-build
-jupyter lab clean
+# Install third party widgets - allow to fail
+pip install --pre jupyterlab_widgets; true
+
+pushd $TEST_DIR
 
 conda install --override-channels --strict-channel-priority -c conda-forge -c anaconda -y ipywidgets altair matplotlib vega_datasets
-jupyter lab build && python -m jupyterlab.browser_check && jupyter lab
+
+jupyter lab build
+python -m jupyterlab.browser_check
+jupyter lab
 
 # undo our environment changes just in case we are sourcing this script
 conda deactivate