add a timeout for the github CI jobs, fixes #5548

sometimes they hung for 6h... (not our fault, seems like a infrastructure problem).
This commit is contained in:
Thomas Waldmann 2020-12-05 18:35:00 +01:00
parent 12dee1ae4d
commit b2b2a2622d
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,7 @@ jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
@ -74,6 +75,7 @@ jobs:
TOXENV: ${{ matrix.toxenv }}
runs-on: ${{ matrix.os }}
timeout-minutes: 40
steps:
- uses: actions/checkout@v2
@ -127,7 +129,7 @@ jobs:
tox --skip-missing-interpreters
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
env:
env:
OS: ${{ runner.os }}
python: ${{ matrix.python-version }}
with: