Skip to content

Commit 8538f07

Browse files
committed
Add initial set of integration tests
1 parent ad1a9ab commit 8538f07

File tree

5 files changed

+848
-248
lines changed

5 files changed

+848
-248
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,24 @@ sudo route add -net 128.0.0.0/1 <public_ip_gateway>
138138

139139
### Testing
140140

141+
To run the unit tests, execute this command:
141142
```bash
142143
pytest
143144
```
144145

146+
To run the integration tests, create a `.env` file in the repo root directory and add the
147+
following properties to it:
148+
```
149+
ENV_OPENAI_KEY=<YOUR_KEY>
150+
ENV_VLLM_KEY=<YOUR_KEY>
151+
ENV_ANTHROPIC_KEY=<YOUR_KEY>
152+
```
153+
154+
Then the integration tests can be executed by running:
155+
```bash
156+
python tests/integration/integration_tests.py
157+
```
158+
145159
## 🐳 Docker deployment
146160

147161
### Build the image

0 commit comments

Comments
 (0)