Skip to content

Commit b137dea

Browse files
committed
partial clone
Signed-off-by: Junpu Fan <junpu@amazon.com>
1 parent d5d1ff3 commit b137dea

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/pr-vllm-rayserve.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ jobs:
9494
with:
9595
repository: vllm-project/vllm
9696
ref: v0.10.2
97-
path: vllm
97+
sparse-checkout: |
98+
requirements
99+
tests
100+
path: vllm_tests
98101

99102
- name: Run vLLM Tests
100103
run: |
@@ -107,14 +110,13 @@ jobs:
107110
-d -it --rm --gpus=all --entrypoint /bin/bash \
108111
-v ${HOME}/.cache/huggingface:/root/.cache/huggingface \
109112
-v ${HOME}/.cache/vllm:/root/.cache/vllm \
110-
-v ./vllm:/workdir --workdir /workdir \
113+
-v vllm_tests:/workdir --workdir /workdir \
111114
${IMAGE_URI}
112115
113-
docker exec ${CONTAINER_NAME} nvidia-smi && ls -l
114-
115-
docker exec ${CONTAINER_NAME} uv pip install --system -r requirements/common.txt -r requirements/dev.txt --torch-backend=auto
116-
docker exec ${CONTAINER_NAME} uv pip install --system pytest pytest-asyncio
117-
docker exec ${CONTAINER_NAME} pytest -s -v tests/test_logger.py
116+
docker exec ${CONTAINER_NAME} nvidia-smi
117+
docker exec ${CONTAINER_NAME} cd vllm_tests && uv pip install --system -r requirements/common.txt -r requirements/dev.txt --torch-backend=auto
118+
docker exec ${CONTAINER_NAME} cd vllm_tests && uv pip install --system pytest pytest-asyncio
119+
docker exec ${CONTAINER_NAME} cd vllm_tests && pytest -s -v tests/test_logger.py
118120
119121
# cleanup container
120122
docker stop ${CONTAINER_NAME}

0 commit comments

Comments
 (0)