Add a placeholder timeout to GitHub Actions unit tests (#1897)

This commit is contained in:
Jack Wang 2023-10-02 11:19:47 -07:00 committed by GitHub
parent 4b84c2a471
commit f1f02e4c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,7 @@ on:
jobs: jobs:
check-generated-pyi-components: check-generated-pyi-components:
timeout-minutes: 30
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -15,6 +15,7 @@ permissions:
jobs: jobs:
integration-app-harness: integration-app-harness:
timeout-minutes: 30
strategy: strategy:
matrix: matrix:
state_manager: [ "redis", "memory" ] state_manager: [ "redis", "memory" ]

View File

@ -28,6 +28,7 @@ env:
jobs: jobs:
example-counter: example-counter:
timeout-minutes: 30
strategy: strategy:
# Prioritize getting more information out of the workflow (even if something fails) # Prioritize getting more information out of the workflow (even if something fails)
fail-fast: false fail-fast: false

View File

@ -18,6 +18,7 @@ env:
jobs: jobs:
example-counter-wsl: example-counter-wsl:
timeout-minutes: 30
# 2019 is more stable with WSL in GH actions # 2019 is more stable with WSL in GH actions
# https://github.com/actions/runner-images/issues/5151 # https://github.com/actions/runner-images/issues/5151
# Confirmed through trial and error. 2022 has >80% failure rate (probably BSOD) # Confirmed through trial and error. 2022 has >80% failure rate (probably BSOD)

View File

@ -11,6 +11,7 @@ on:
jobs: jobs:
pre-commit: pre-commit:
timeout-minutes: 30
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -15,6 +15,7 @@ jobs:
# TODO we can extend to various starting points (e.g. Ubuntu with node, without node, with unzip, without unzip, etc.) # TODO we can extend to various starting points (e.g. Ubuntu with node, without node, with unzip, without unzip, etc.)
# Currently starting point is: Ubuntu + unzip, xz-utils, Python suite. No node. # Currently starting point is: Ubuntu + unzip, xz-utils, Python suite. No node.
reflex-install-and-init: reflex-install-and-init:
timeout-minutes: 30
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -19,6 +19,7 @@ defaults:
jobs: jobs:
unit-tests: unit-tests:
timeout-minutes: 30
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix: