You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer/developer.md
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -231,17 +231,21 @@ make test
231
231
```
232
232
233
233
## Run e2e tests locally
234
+
234
235
To setup from local code, do:
235
236
236
-
1.`./hack/quick_install.sh`
237
-
2.`make undeploy`
238
-
3.`make deploy-dev`
237
+
1.`./hack/quick_install.sh`
238
+
2.`make undeploy`
239
+
3.`make deploy-dev`
240
+
241
+
Go to `python/kserve` and install kserve python sdk deps:
239
242
240
-
Go to `python/kserve` and install kserve python sdk deps
241
243
```bash
242
-
pip3 install -e .[test]
244
+
uv venv .venv
245
+
uv sync --group test
243
246
```
244
-
Then go to `test/e2e`.
247
+
248
+
Then go to `test/e2e`.
245
249
246
250
Run `kubectl create namespace kserve-ci-e2e-test`
247
251
@@ -251,7 +255,7 @@ For KIND/minikube:
251
255
* In a different window run `kubectl port-forward -n istio-system svc/istio-ingressgateway 8080:80`
252
256
* Note that not all tests will pass as the pytorch test requires gpu. These will show as pending pods at the end or you can add marker to skip the test.
253
257
254
-
Run `pytest > testresults.txt`
258
+
Run `GITHUB_SHA='e2ee2e' uv run pytest > testresults.txt`
255
259
256
260
Tests may not clean up. To re-run, first do `kubectl delete namespace kserve-ci-e2e-test`, recreate namespace and run again.
0 commit comments