Просмотр исходного кода

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

Jack Wang 1 год назад
Родитель
Сommit
f1f02e4c60

+ 1 - 0
.github/workflows/check_generated_pyi.yml

@@ -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

+ 1 - 0
.github/workflows/integration_app_harness.yml

@@ -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" ]

+ 1 - 0
.github/workflows/integration_tests.yml

@@ -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

+ 1 - 0
.github/workflows/integration_tests_wsl.yml

@@ -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)

+ 1 - 0
.github/workflows/pre-commit.yml

@@ -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

+ 1 - 0
.github/workflows/reflex_init_in_docker_test.yml

@@ -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

+ 1 - 0
.github/workflows/unit_tests.yml

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