Skip to content

Commit

Permalink
update readme with test env
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda committed Apr 4, 2024
1 parent 2d5cff2 commit 357bb3f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,20 @@ poetry run ruff format .
```

## Running tests

To run all the tests, make sure the poetry virtual environment activated with all
the necessary dependencies. Set the necessary environment variables and run:
the necessary dependencies.

Create two Vector Stores on upstash. First one should have 2 dimensions. Second one should use an embedding model. Set the necessary environment variables:

```
URL=****
TOKEN=****
EMBEDDING_URL=****
EMBEDDING_TOKEN=****
```

Then, run the following command to run tests:

```bash
poetry run pytest
Expand Down

0 comments on commit 357bb3f

Please sign in to comment.