summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-07-17 10:06:22 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-07-17 10:06:22 +0200
commitfa9353538b1f72fc01aaeea5c38d1cafff3657c9 (patch)
treea3cf57ec43c55d39266e97391cf9b6e68fd1c30f /.github
parent47bdf48d74d7d1ff4fbfcd2741915e7960de20e9 (diff)
downloadqutebrowser-fa9353538b1f72fc01aaeea5c38d1cafff3657c9.tar.gz
qutebrowser-fa9353538b1f72fc01aaeea5c38d1cafff3657c9.zip
ci: Add timeouts for jobs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--.github/workflows/recompile-requirements.yml1
2 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9139117ae..09e7b57fa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,6 +6,7 @@ env:
jobs:
linters:
+ timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -57,6 +58,7 @@ jobs:
run: "tox -e ${{ matrix.testenv}} -- ${{ matrix.args }}"
tests-docker:
+ timeout-minutes: 30
runs-on: ubuntu-20.04
strategy:
fail-fast: false
@@ -83,6 +85,7 @@ jobs:
- run: tox -e py38
tests:
+ timeout-minutes: 45
continue-on-error: "${{ matrix.experimental == true }}"
strategy:
fail-fast: false
@@ -177,6 +180,7 @@ jobs:
name: "${{ matrix.testenv }}"
codeql:
+ timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -197,6 +201,8 @@ jobs:
uses: github/codeql-action/analyze@v1
irc:
+ timeout-minutes: 2
+ continue-on-error: true
runs-on: ubuntu-latest
needs: [linters, tests, tests-docker, codeql]
if: "always() && github.repository_owner == 'qutebrowser'"
diff --git a/.github/workflows/recompile-requirements.yml b/.github/workflows/recompile-requirements.yml
index 7ee776395..acac169bf 100644
--- a/.github/workflows/recompile-requirements.yml
+++ b/.github/workflows/recompile-requirements.yml
@@ -8,6 +8,7 @@ on:
jobs:
update:
+ timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2