ci: decrease job timeout from 6 hours to 30 minutes

We don't have any jobs that should go beyond that, so let's be nicer to
the CI host and quicker to report the failure.
This commit is contained in:
Ran Benita 2020-10-21 10:16:23 +03:00
parent a66b6b857a
commit fe69d0d680
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
@ -176,6 +177,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pytest'
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [build]