@@ -8,12 +8,16 @@ description = "Run all tests (Rust + Python)"
88depends = [" test:rust" , " test:python" ]
99
1010[e2e ]
11- description = " Run all end-to-end tests (Rust + Python)"
12- depends = [" e2e:rust " , " e2e:python " ]
11+ description = " Run all Docker-backed end-to-end tests (Rust + Python)"
12+ depends = [" e2e:docker " ]
1313
1414["e2e:gpu" ]
15- description = " Run GPU end-to-end tests"
16- depends = [" e2e:python:gpu" ]
15+ description = " Alias for e2e:k3s:gpu"
16+ run = [
17+ " echo 'warning: e2e:gpu is deprecated; use e2e:k3s:gpu' >&2" ,
18+ " mise run e2e:k3s:gpu" ,
19+ ]
20+ hide = true
1721
1822["test:rust" ]
1923description = " Run Rust tests"
@@ -28,20 +32,31 @@ run = "uv run pytest python/"
2832hide = true
2933
3034["e2e:rust" ]
31- description = " Run Rust CLI e2e tests against a Docker-backed gateway "
35+ description = " Alias for e2e:docker:rust "
3236run = [
33- " cargo build -p openshell-cli --features openshell-core/dev-settings " ,
34- " e2e/with-docker-gateway.sh cargo test --manifest-path e2e/ rust/Cargo.toml --features e2e -- --skip docker_gpu_sandbox_runs_nvidia_smi " ,
37+ " echo 'warning: e2e:rust is deprecated; use e2e:docker:rust' >&2 " ,
38+ " mise run e2e:docker: rust" ,
3539]
40+ hide = true
3641
3742["e2e:python" ]
38- description = " Run Python e2e tests against a Docker-backed gateway (E2E_PARALLEL=N or 'auto'; default 5)"
39- depends = [" python:proto" ]
40- env = { UV_NO_SYNC = " 1" , PYTHONPATH = " python" }
41- run = " e2e/with-docker-gateway.sh uv run pytest -o python_files='test_*.py' -m 'not gpu' -n ${E2E_PARALLEL:-5} e2e/python"
43+ description = " Alias for e2e:docker:python"
44+ run = [
45+ " echo 'warning: e2e:python is deprecated; use e2e:docker:python' >&2" ,
46+ " mise run e2e:docker:python" ,
47+ ]
48+ hide = true
4249
4350["e2e:python:gpu" ]
44- description = " Run Python GPU e2e tests"
51+ description = " Alias for e2e:k3s:gpu"
52+ run = [
53+ " echo 'warning: e2e:python:gpu is deprecated; use e2e:k3s:gpu' >&2" ,
54+ " mise run e2e:k3s:gpu" ,
55+ ]
56+ hide = true
57+
58+ ["e2e:k3s:gpu" ]
59+ description = " Run GPU e2e tests against an OpenShell k3s-cluster gateway"
4560depends = [" python:proto" , " CLUSTER_GPU=1 cluster" ]
4661env = { UV_NO_SYNC = " 1" , PYTHONPATH = " python" }
4762run = " uv run pytest -o python_files='test_*.py' -m gpu -n ${E2E_PARALLEL:-1} e2e/python"
@@ -56,10 +71,25 @@ description = "Start openshell-gateway with the VM compute driver and run the cl
5671run = " e2e/rust/e2e-vm.sh"
5772
5873["e2e:docker" ]
74+ description = " Run all Docker-backed end-to-end tests (Rust + Python)"
75+ depends = [" e2e:docker:rust" , " e2e:docker:python" ]
76+
77+ ["e2e:docker:rust" ]
78+ description = " Run Rust CLI e2e tests against a Docker-backed gateway"
79+ run = " e2e/rust/e2e-rust.sh"
80+
81+ ["e2e:docker:python" ]
82+ description = " Run Python e2e tests against a Docker-backed gateway (E2E_PARALLEL=N or 'auto'; default 5)"
83+ depends = [" python:proto" ]
84+ env = { UV_NO_SYNC = " 1" , PYTHONPATH = " python" }
85+ run = " e2e/with-docker-gateway.sh uv run pytest -o python_files='test_*.py' -m 'not gpu' -n ${E2E_PARALLEL:-5} e2e/python"
86+
87+ ["e2e:docker:smoke" ]
5988description = " Run smoke e2e against a standalone gateway with the Docker compute driver"
60- run = " e2e/rust/e2e-docker.sh"
89+ env = { OPENSHELL_E2E_RUST_TEST = " smoke" }
90+ run = " e2e/rust/e2e-rust.sh"
6191
6292["e2e:docker:gpu" ]
6393description = " Run GPU e2e against a standalone gateway with the Docker compute driver"
64- env = { OPENSHELL_E2E_DOCKER_GPU = " 1" , OPENSHELL_E2E_DOCKER_TEST = " docker_gpu" }
65- run = " e2e/rust/e2e-docker .sh"
94+ env = { OPENSHELL_E2E_DOCKER_GPU = " 1" , OPENSHELL_E2E_RUST_TEST = " docker_gpu" }
95+ run = " e2e/rust/e2e-rust .sh"
0 commit comments