CI: add timeouts to tools jobs (#29238)

old-commit-hash: 8633e5f8ab24b42bbe7b85a7063d36ee0c42bcc2
This commit is contained in:
Adeeb Shihadeh
2023-08-04 15:35:21 -07:00
committed by GitHub
parent 4e047635d7
commit 5c0a7ef79e
+4 -2
View File
@@ -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