Skip to content

Commit 9a2fa46

Browse files
authored
Increase timeout for CPU tests (#1162)
* Increase timeout for CPU tests Signed-off-by: Sarah Yurick <[email protected]> * split stages tests into separate workflows Signed-off-by: Sarah Yurick <[email protected]> * fix slash issue Signed-off-by: Sarah Yurick <[email protected]> * try quotes Signed-off-by: Sarah Yurick <[email protected]> * another attempt.. Signed-off-by: Sarah Yurick <[email protected]> * .. Signed-off-by: Sarah Yurick <[email protected]> --------- Signed-off-by: Sarah Yurick <[email protected]>
1 parent 17d41b3 commit 9a2fa46

File tree

6 files changed

+5
-3
lines changed

6 files changed

+5
-3
lines changed

.github/workflows/cicd-main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
matrix:
125125
os: [ubuntu-latest]
126126
python-version: ["3.10", "3.12"]
127-
folder: ["backends", "core", "models", "pipelines", "stages", "tasks", "utils"]
127+
folder: ["backends", "core", "models", "pipelines", "stages-audio", "stages-common", "stages-deduplication", "stages-image", "stages-text", "stages-video", "tasks", "utils"]
128128
needs: [pre-flight, cicd-wait-in-queue]
129129
runs-on: ${{ matrix.os }}
130130
name: Unit_Test_${{ matrix.folder}}_CPU_python-${{ matrix.python-version }}
@@ -156,12 +156,14 @@ jobs:
156156
with:
157157
python-version: ${{ matrix.python-version }}
158158
- name: Run tests ${{ matrix.folder }} (CPU)
159-
timeout-minutes: 20
159+
timeout-minutes: 30
160160
run: |
161161
cd InternVideo && patch -p1 < ../external/intern_video2_multimodal.patch && cd .. && sed -i "/InternVideo/d" .gitignore
162162
uv sync --link-mode copy --locked --extra audio_cpu --extra text_cpu --extra video_cpu --group test
163163
uv add InternVideo/InternVideo2/multi_modality
164-
uv run coverage run --branch --source=nemo_curator -m pytest -v tests/${{ matrix.folder }} -m "not gpu"
164+
FOLDER="${{ matrix.folder }}"
165+
FOLDER="${FOLDER/stages-/stages/}"
166+
uv run coverage run --branch --source=nemo_curator -m pytest -v "tests/$FOLDER" -m "not gpu"
165167
166168
- name: Generate report
167169
id: check
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)