Преглед изворни кода

#884 exclude openai example from startup_test with Python 3.7

Falko Schindler пре 2 година
родитељ
комит
d5e68aeee0
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      test_startup.sh

+ 4 - 0
test_startup.sh

@@ -32,6 +32,10 @@ error=0
 check main.py || error=1
 for path in examples/*
 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
         check $path/start.sh dev || error=1 
     elif test -f $path/main.py; then