From 86bc48f3e0b57bd63673324c1177e93da806de7a Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Sun, 18 Dec 2022 00:26:15 -0500 Subject: [PATCH] Add github action timeouts (#195) --- .github/workflows/test-docs.yml | 1 + .github/workflows/test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 070ce7a..8560c8c 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -5,6 +5,7 @@ on: [push, pull_request] jobs: test_docs: runs-on: ubuntu-latest + timeout-minutes: 5 strategy: matrix: python-version: ["3.10"] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19e6e41..e1c5de2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,7 @@ jobs: test: name: test py${{ matrix.python-version }} with ${{ matrix.db_name }} runs-on: ubuntu-latest + timeout-minutes: 8 strategy: matrix: python-version: ["3.10", "3.11"]