Skip to content

Commit 82577b0

Browse files
authored
ci: Update the pre_merge markers to exclude gpu_2 tests running (#4909)
Signed-off-by: pvijayakrish <[email protected]>
1 parent d0e95c3 commit 82577b0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/container-validation-backends.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/container-validation-dynamo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
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 \
@@ -78,7 +78,7 @@ jobs:
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 \

0 commit comments

Comments
 (0)