File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ jobs:
192192 uses : ./.github/actions/pytest
193193 with :
194194 image_tag : ${{ steps.build-image.outputs.image_tag }}
195- pytest_marks : " pre_merge and vllm"
195+ pytest_marks : " pre_merge and vllm and (gpu_0 or gpu_1) "
196196 framework : " vllm"
197197 test_type : " pre_merge"
198198 platform_arch : ${{ matrix.platform.arch }}
@@ -253,7 +253,7 @@ jobs:
253253 uses : ./.github/actions/pytest
254254 with :
255255 image_tag : ${{ steps.build-image.outputs.image_tag }}
256- pytest_marks : " pre_merge and sglang"
256+ pytest_marks : " pre_merge and sglang and (gpu_0 or gpu_1) "
257257 framework : " sglang"
258258 test_type : " pre_merge"
259259 platform_arch : ${{ matrix.platform.arch }}
@@ -314,7 +314,7 @@ jobs:
314314 uses : ./.github/actions/pytest
315315 with :
316316 image_tag : ${{ steps.build-image.outputs.image_tag }}
317- pytest_marks : " pre_merge and trtllm"
317+ pytest_marks : " pre_merge and trtllm and (gpu_0 or gpu_1) "
318318 framework : " trtllm"
319319 test_type : " pre_merge"
320320 platform_arch : ${{ matrix.platform.arch }}
Original file line number Diff line number Diff line change 6666 docker compose down
6767 - name : Run pytest (parallel tests with xdist)
6868 env :
69- PYTEST_MARKS : " pre_merge and parallel and not (vllm or sglang or trtllm)"
69+ PYTEST_MARKS : " pre_merge and parallel and not (vllm or sglang or trtllm) and (gpu_0 or gpu_1) "
7070 run : |
7171 docker run -w /workspace \
7272 --name ${{ env.CONTAINER_ID }}_pytest_parallel \
7878 docker cp ${{ env.CONTAINER_ID }}_pytest_parallel:/workspace/${{ env.PYTEST_PARALLEL_XML_FILE }} . || echo "No parallel test report found"
7979 - name : Run pytest (sequential tests)
8080 env :
81- PYTEST_MARKS : " ((pre_merge and not parallel) or mypy) and not (vllm or sglang or trtllm)"
81+ PYTEST_MARKS : " ((pre_merge and not parallel) or mypy) and not (vllm or sglang or trtllm) and (gpu_0 or gpu_1) "
8282 run : |
8383 docker run -w /workspace \
8484 --name ${{ env.CONTAINER_ID }}_pytest \
You can’t perform that action at this time.
0 commit comments