Skip to content

Commit 5798f45

Browse files
committed
verify that postBuild is run in tests/venv/start/postBuild
1 parent d0ef082 commit 5798f45

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/venv/start/postBuild/postBuild

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
# this value should not be visible in `verify`
44
export TEST_START_VAR="var is set by postBuild"
5+
6+
echo 'Done!' > $HOME/postbuild.txt

tests/venv/start/postBuild/verify

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22
set -euo pipefail
3-
jupyter nbextension list | grep 'jupyter-leaflet' | grep enabled
4-
3+
grep 'Done!' $HOME/postbuild.txt
54
# set value of TEST_START_VAR to empty string when it is not defined
65
if [ "${TEST_START_VAR:-}" != "var is set" ]
76
then

0 commit comments

Comments
 (0)