verify that postBuild is run in tests/venv/start/postBuild

pull/1348/head
Min RK 2024-05-27 15:09:14 +02:00
rodzic d0ef0828d4
commit 5798f45bba
Nie znaleziono w bazie danych klucza dla tego podpisu
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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