Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README-tests.md #2917

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ These tests are currently managed through [`pytest`](https://docs.pytest.org/),

To run the tests:

- Install Python and Node.
- Install Python and Node. (Rust and Cargo may be needed as well)
- Install Docker (needed to spin up Weaviate)
- Set up API keys for Cohere, Hugging Face and OpenAI (needed for vectorization) as environment variables under `COHERE_APIKEY`, `HUGGINGFACE_APIKEY` and `OPENAI_APIKEY` respectively.
- Set up and activate the Python environment, and install the required libraries (`pytest`, `weaviate-client` and so on)
- We recommend doing this by running from the shell:
```bash
python -m venv .venv
source .venv/bin/python
source .venv/bin/activate
pip install -r requirements.txt
```
- Then run `pytest` from your environment. This will execute tests defined within the `tests` directory.
Expand Down
Loading