From 09044635df3858580a2db2778b4a9211f7552e70 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 24 Jul 2023 23:22:23 +0300 Subject: [PATCH] Add timeouts to CI jobs --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1de77db92..9e5564d4a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,7 @@ concurrency: jobs: mypy-self-check: + timeout-minutes: 10 runs-on: ubuntu-latest strategy: matrix: @@ -43,6 +44,7 @@ jobs: run: mypy --cache-dir=/dev/null --no-incremental django-stubs test: + timeout-minutes: 15 runs-on: ubuntu-latest strategy: matrix: @@ -69,6 +71,7 @@ jobs: run: PYTHONPATH='.' pytest --num-shards=4 --shard-id=${{ matrix.shard }} stubtest: + timeout-minutes: 10 runs-on: ubuntu-latest strategy: matrix: @@ -93,6 +96,7 @@ jobs: run: bash ./scripts/stubtest.sh matrix-test: + timeout-minutes: 10 runs-on: ubuntu-latest strategy: fail-fast: false