From 030a2b5fa16faed3179f83818c28b90314b5588e Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Fri, 13 Jan 2023 14:30:30 -0500 Subject: [PATCH] Add timeout to `conda-python-tests` job There were two instances recently (below) where some Python test errors caused the `conda-python-tests` job to run/hang for ~4 hours. - https://github.com/rapidsai/dask-cuda/pull/981#issuecomment-1382289752 - https://github.com/rapidsai/dask-cuda/pull/1081#issuecomment-1382288016 To prevent this from happening again in the future, I've added a reasonable timeout of 45 minutes to that particular job. The job usually takes ~25 minutes to complete, so 45 minutes should be plenty. This timeout will help prevent jobs from hanging and thus help preserve our finite GPU capacity for CI (particularly for `arm` nodes). --- .github/workflows/pr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 3ba8410f7..9b1bedebf 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -28,6 +28,7 @@ jobs: with: build_type: pull-request conda-python-tests: + timeout-minutes: 45 needs: conda-python-build secrets: inherit # TODO: Switch this testing branch to "cuda-118" after `cudf` `3.10` builds are out.