Skip to content

Commit fd5f9cc

Browse files
authored
INTPYTHON-669 Restore llama-index testing (#94)
1 parent a33498c commit fd5f9cc

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

.evergreen/config.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -386,19 +386,18 @@ buildvariants:
386386
# - name: test-chatgpt-retrieval-plugin-remote
387387
# batchtime: 10080 # 1 week
388388

389-
# TODO: INTPYTHON-669
390-
# - name: test-llama-index-vectorstore-python-rhel
391-
# display_name: LlamaIndex RHEL Vector Store
392-
# tags: [python]
393-
# expansions:
394-
# DIR: llama-index-python-vectorstore
395-
# run_on:
396-
# - rhel87-small
397-
# tasks:
398-
# - name: test-llama-index-local
399-
# # TODO: INTPYTHON-440
400-
# # - name: test-llama-index-remote
401-
# # batchtime: 10080 # 1 week
389+
- name: test-llama-index-vectorstore-python-rhel
390+
display_name: LlamaIndex RHEL Vector Store
391+
tags: [python]
392+
expansions:
393+
DIR: llama-index-python-vectorstore
394+
run_on:
395+
- rhel87-small
396+
tasks:
397+
- name: test-llama-index-local
398+
# TODO: INTPYTHON-440
399+
# - name: test-llama-index-remote
400+
# batchtime: 10080 # 1 week
402401

403402
- name: test-docarray-python-rhel
404403
display_name: DocArray RHEL

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,4 @@ env.sh
6161
haystack-fulltext/haystack-core-integrations
6262
haystack-embeddings/haystack-core-integrations
6363
pymongo-voyageai/pymongo-voyageai
64+
llama-index-python-vectorstore/llama_index/

llama-index-python-vectorstore/run.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
# Get the MONGODB_URI and OPENAI_API_KEY.
5+
# Get the MONGODB_URI and AZURE_OPENAI_API_KEY.
66
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
77
ROOT_DIR=$(dirname $SCRIPT_DIR)
88
. $ROOT_DIR/env.sh
@@ -24,8 +24,6 @@ pip install uv
2424

2525
# Run tests.
2626
UV_PYTHON=$PYTHON_BINARY \
27-
MONGODB_URI="$MONGODB_URI" \
28-
OPENAI_API_KEY="$OPENAI_API_KEY" \
2927
MONGODB_DATABASE="llama_index_test_db" \
3028
MONGODB_COLLECTION="llama_index_test_vectorstore" \
3129
MONGODB_INDEX="vector_index" \

0 commit comments

Comments
 (0)