From 8633e5f8ab24b42bbe7b85a7063d36ee0c42bcc2 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 4 Aug 2023 15:35:21 -0700 Subject: [PATCH] CI: add timeouts to tools jobs (#29238) --- .github/workflows/tools_tests.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tools_tests.yaml b/.github/workflows/tools_tests.yaml index 3b32d3c790..36e9f082d9 100644 --- a/.github/workflows/tools_tests.yaml +++ b/.github/workflows/tools_tests.yaml @@ -30,6 +30,7 @@ jobs: plotjuggler: name: plotjuggler runs-on: ubuntu-20.04 + timeout-minutes: 45 steps: - uses: actions/checkout@v3 with: @@ -37,6 +38,7 @@ jobs: - name: Build Docker image run: eval "$BUILD" - name: Unit test + timeout-minutes: 2 run: | ${{ env.RUN }} "scons -j$(nproc) --directory=/tmp/openpilot/cereal && \ apt-get update && \ @@ -50,6 +52,7 @@ jobs: env: IMAGE_NAME: openpilot-sim if: github.repository == 'commaai/openpilot' + timeout-minutes: 45 steps: - uses: actions/checkout@v3 with: @@ -71,6 +74,7 @@ jobs: docs: name: build docs runs-on: ubuntu-20.04 + timeout-minutes: 45 steps: - uses: actions/checkout@v3 with: @@ -83,5 +87,3 @@ jobs: run: | $DOCKER_LOGIN docker push $DOCKER_REGISTRY/openpilot-docs:latest - -