From 9f1653fd76e100c207b95af5fa52d8b63bb53289 Mon Sep 17 00:00:00 2001 From: Jiashen Cao Date: Thu, 31 Aug 2023 14:22:58 -0400 Subject: [PATCH] fix: install pkg and ignore tutorials (#1018) * For Postgres CI, add cmd to install packages * Ignore CI for notebook 14 * It could work with Postgres CI, but we don't have an OpenAI key setup for CI. It still will fail in the end. --- .circleci/config.yml | 1 + script/test/test.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 562f560b5f..703d75c20f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -313,6 +313,7 @@ jobs: pip install --upgrade pip source test_evadb/bin/activate pip install ".[dev]" + pip install -r evadb/third_party/databases/postgres/requirements.txt - run: name: Run integration tests diff --git a/script/test/test.sh b/script/test/test.sh index e6ca600f1c..1e155923f2 100644 --- a/script/test/test.sh +++ b/script/test/test.sh @@ -82,7 +82,7 @@ long_integration_test() { } notebook_test() { - PYTHONPATH=./ python -m pytest --durations=5 --nbmake --overwrite "./tutorials" --capture=sys --tb=short -v --log-level=WARNING --nbmake-timeout=3000 --ignore="tutorials/08-chatgpt.ipynb" + PYTHONPATH=./ python -m pytest --durations=5 --nbmake --overwrite "./tutorials" --capture=sys --tb=short -v --log-level=WARNING --nbmake-timeout=3000 --ignore="tutorials/08-chatgpt.ipynb" --ignore="tutorials/14-food-review-tone-analysis-and-response.ipynb" code=$? print_error_code $code "NOTEBOOK TEST" }