Skip to content

Commit 71bc014

Browse files
committed
test: add initial pytest coverage for ParadeDB hybrid search
1 parent 29698f0 commit 71bc014

File tree

5 files changed

+1950
-0
lines changed

5 files changed

+1950
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Testing Setup
2+
3+
You will need to start a postgres instance locally to run the tests for this integration. You can do this easily via docker cli:
4+
5+
```
6+
docker run -d \
7+
--name paradedb \
8+
-e POSTGRES_USER=postgres \
9+
-e POSTGRES_PASSWORD=mark90 \
10+
-e POSTGRES_DB=postgres \
11+
-p 5432:5432 \
12+
paradedb/paradedb:latest
13+
```
14+
15+
To clean up the created postgres DB, just run:
16+
17+
```
18+
docker stop paradedb
19+
docker rm paradedb
20+
```

llama-index-integrations/vector_stores/llama-index-vector-store-paradedb/tests/__init__.py

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# pants requires this import to recognize the dep
2+
import pytest_asyncio # noqa: F401

0 commit comments

Comments
 (0)