Skip to content

Commit

Permalink
Merge pull request #1348 from manics/ipyleaflet-pin-tests
Browse files Browse the repository at this point in the history
update postBuild tests without ipyleaflet
  • Loading branch information
minrk committed May 27, 2024
2 parents af6d3e8 + 5798f45 commit a4049fd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/venv/binder-dir/binder/postBuild
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
jupyter nbextension enable --py --sys-prefix ipyleaflet
echo 'Done!' > $HOME/postbuild.txt
2 changes: 2 additions & 0 deletions tests/venv/binder-dir/verify
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ which gfortran
test -z $(pip list | grep scipy)
jupyter nbextension list
jupyter nbextension list | grep 'jupyter-leaflet' | grep enabled

grep 'Done!' $HOME/postbuild.txt
2 changes: 1 addition & 1 deletion tests/venv/start/postBuild/postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# this value should not be visible in `verify`
export TEST_START_VAR="var is set by postBuild"

jupyter nbextension enable --py --sys-prefix ipyleaflet
echo 'Done!' > $HOME/postbuild.txt
3 changes: 1 addition & 2 deletions tests/venv/start/postBuild/verify
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
set -euo pipefail
jupyter nbextension list | grep 'jupyter-leaflet' | grep enabled

grep 'Done!' $HOME/postbuild.txt
# set value of TEST_START_VAR to empty string when it is not defined
if [ "${TEST_START_VAR:-}" != "var is set" ]
then
Expand Down

0 comments on commit a4049fd

Please sign in to comment.