From c3c516a18d37759b5e540d51d2ed560cc89e2851 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Fri, 11 Feb 2022 17:20:38 -0800 Subject: [PATCH] CI: Set max job limit for test runs --- .github/workflows/datamanger.yml | 1 + .github/workflows/posix.yml | 1 + ci/azure/posix.yml | 30 ++++++------------------------ 3 files changed, 8 insertions(+), 24 deletions(-) diff --git a/.github/workflows/datamanger.yml b/.github/workflows/datamanger.yml index 368c770ad5f14..8ee8e76956262 100644 --- a/.github/workflows/datamanger.yml +++ b/.github/workflows/datamanger.yml @@ -20,6 +20,7 @@ jobs: data_manager: name: Test experimental data manager runs-on: ubuntu-latest + timeout-minutes: 120 services: moto: image: motoserver/moto diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index b97ecff3e4cd6..251024eaba5fa 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -22,6 +22,7 @@ jobs: defaults: run: shell: bash -l {0} + timeout-minutes: 120 strategy: matrix: settings: [ diff --git a/ci/azure/posix.yml b/ci/azure/posix.yml index 9002f35376613..6d33cd7e5f5d9 100644 --- a/ci/azure/posix.yml +++ b/ci/azure/posix.yml @@ -4,40 +4,22 @@ parameters: jobs: - job: ${{ parameters.name }} + timeoutInMinutes: 90 pool: vmImage: ${{ parameters.vmImage }} strategy: matrix: - py38_macos_1: + py38: ENV_FILE: ci/deps/azure-macos-38.yaml CONDA_PY: "38" - PATTERN: "not slow" - PYTEST_TARGET: "pandas/tests/[a-h]*" - py38_macos_2: - ENV_FILE: ci/deps/azure-macos-38.yaml - CONDA_PY: "38" - PATTERN: "not slow" - PYTEST_TARGET: "pandas/tests/[i-z]*" - py39_macos_1: - ENV_FILE: ci/deps/azure-macos-39.yaml - CONDA_PY: "39" - PATTERN: "not slow" - PYTEST_TARGET: "pandas/tests/[a-h]*" - py39_macos_2: + + py39: ENV_FILE: ci/deps/azure-macos-39.yaml CONDA_PY: "39" - PATTERN: "not slow" - PYTEST_TARGET: "pandas/tests/[i-z]*" - py310_macos_1: - ENV_FILE: ci/deps/azure-macos-310.yaml - CONDA_PY: "310" - PATTERN: "not slow" - PYTEST_TARGET: "pandas/tests/[a-h]*" - py310_macos_2: + + py310: ENV_FILE: ci/deps/azure-macos-310.yaml CONDA_PY: "310" - PATTERN: "not slow" - PYTEST_TARGET: "pandas/tests/[i-z]*" steps: - script: echo '##vso[task.prependpath]$(HOME)/miniconda3/bin'