浏览代码

#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