From a366f70a2f9d5a1f264a9eb36cc5631596ca6d41 Mon Sep 17 00:00:00 2001 From: Andriy Ivaneyko Date: Sun, 10 Dec 2023 12:35:46 -0500 Subject: [PATCH] Extend timeout --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b071e7e4e3..1e2b6d2777 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,15 +34,15 @@ jobs: - { python-version: "3.9", tox-env: type-checking } - { python-version: "3.10", tox-env: type-checking } - { python-version: "3.11", tox-env: type-checking } - - { python-version: "3.8", tox-env: py38, max-attempts: 3 } - - { python-version: "3.8", tox-env: py38-no-ext, max-attempts: 3 } + - { python-version: "3.8", tox-env: py38, max-attempts: 1, timeout-minutes: 20} + - { python-version: "3.8", tox-env: py38-no-ext, max-attempts: 1, timeout-minutes: 20} - { python-version: "3.9", tox-env: py39, max-attempts: 3 } - { python-version: "3.9", tox-env: py39-no-ext, max-attempts: 3 } - { python-version: "3.10", tox-env: py310, max-attempts: 3 } - { python-version: "3.10", tox-env: py310-no-ext, max-attempts: 3 } - { python-version: "3.11", tox-env: py311, max-attempts: 3 } - { python-version: "3.11", tox-env: py311-no-ext, max-attempts: 3 } - - { python-version: "3.8", tox-env: py38-no-ext, platform: windows-latest, ignore-errors: true } + - { python-version: "3.8", tox-env: py38-no-ext, platform: windows-latest, ignore-errors: true, timeout-minutes: 20 } - { python-version: "3.9", tox-env: py39-no-ext, platform: windows-latest, ignore-errors: true } - { python-version: "3.10", tox-env: py310-no-ext, platform: windows-latest, ignore-errors: true } - { python-version: "3.11", tox-env: py310-no-ext, platform: windows-latest, ignore-errors: true } @@ -54,3 +54,4 @@ jobs: tox-env: ${{ matrix.config.tox-env }} max-attempts: ${{ matrix.config.max-attempts || 1 }} ignore-errors: ${{ matrix.config.ignore-errors || false }} + timeout-minutes: ${{ matrix.config.timeout-minutes || 15 }}