Kaynağa Gözat

#884 exclude openai example from startup_test with Python 3.7

Falko Schindler 2 yıl önce
ebeveyn
işleme
d5e68aeee0
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      test_startup.sh

+ 4 - 0
test_startup.sh

@@ -32,6 +32,10 @@ error=0
 check main.py || error=1
 check main.py || error=1
 for path in examples/*
 for path in examples/*
 do
 do
+    if [[ $path == *"chat_with_ai"* ]] && [[ $(python3 --version) == *"3.7"* ]]; then
+        # NOTE: chat_with_ai example is not working with python 3.7
+        continue
+    fi
     if test -f $path/start.sh; then
     if test -f $path/start.sh; then
         check $path/start.sh dev || error=1 
         check $path/start.sh dev || error=1 
     elif test -f $path/main.py; then
     elif test -f $path/main.py; then