diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-07-17 10:06:22 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-07-17 10:06:22 +0200 |
commit | fa9353538b1f72fc01aaeea5c38d1cafff3657c9 (patch) | |
tree | a3cf57ec43c55d39266e97391cf9b6e68fd1c30f /.github | |
parent | 47bdf48d74d7d1ff4fbfcd2741915e7960de20e9 (diff) | |
download | qutebrowser-fa9353538b1f72fc01aaeea5c38d1cafff3657c9.tar.gz qutebrowser-fa9353538b1f72fc01aaeea5c38d1cafff3657c9.zip |
ci: Add timeouts for jobs
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
-rw-r--r-- | .github/workflows/recompile-requirements.yml | 1 |
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 |