timeouts for all CI jobs

old-commit-hash: 2752df8266
commatwo_master
Adeeb Shihadeh 5 years ago
parent ba195b745b
commit 3ecd9c2d31
  1. 3
      .github/workflows/test.yaml

@ -48,6 +48,7 @@ jobs:
docker_push: docker_push:
name: docker push name: docker push
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
timeout-minutes: 50
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot'
needs: static_analysis # hack to ensure slow tests run first since this and static_analysis are fast needs: static_analysis # hack to ensure slow tests run first since this and static_analysis are fast
steps: steps:
@ -65,6 +66,7 @@ jobs:
static_analysis: static_analysis:
name: static analysis name: static analysis
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
timeout-minutes: 50
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -91,6 +93,7 @@ jobs:
unit_tests: unit_tests:
name: unit tests name: unit tests
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
timeout-minutes: 50
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

Loading…
Cancel
Save