From 5a0044de117ce3da11ef213ed740d0a813a5dfaf Mon Sep 17 00:00:00 2001 From: dachengx Date: Thu, 1 Feb 2024 09:19:14 -0600 Subject: [PATCH 1/2] Add timeout for the action --- .github/workflows/pytest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index f8a18126..183a4748 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -19,6 +19,7 @@ on: jobs: build: runs-on: ${{ matrix.os }} + timeout-minutes: 30 env: HAVE_ACCESS_TO_SECRETS: ${{ secrets.RUNDB_API_URL }} strategy: From c020b93e32095ca889bfdf6f635ec48051f7dbc3 Mon Sep 17 00:00:00 2001 From: dachengx Date: Thu, 1 Feb 2024 09:30:13 -0600 Subject: [PATCH 2/2] Shorten timelimit to 15min --- .github/workflows/pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 183a4748..73cc62a7 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -19,7 +19,7 @@ on: jobs: build: runs-on: ${{ matrix.os }} - timeout-minutes: 30 + timeout-minutes: 15 env: HAVE_ACCESS_TO_SECRETS: ${{ secrets.RUNDB_API_URL }} strategy: