Skip to content

Commit

Permalink
CI: reduce timeout from six hour default
Browse files Browse the repository at this point in the history
* Workflow timeout

* Update tox.yml

* Update and rename ubuntu.yml to buildpackage.yml

* Update README.md
  • Loading branch information
pajod authored Dec 16, 2023
1 parent 678b296 commit ad19c47
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ env:
SOURCE_DATE_EPOCH: 0

jobs:
lint:
dpkg-buildpackage:
name: buildpackage-${{ matrix.python-version }}
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
timeout-minutes: 4
# https://docs.github.com/articles/virtual-environments-for-github-actions
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ env:
jobs:
lint:
name: ${{ matrix.toxenv }} / ${{ matrix.os }} / ${{ matrix.python-version }}
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
timeout-minutes: 4
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ env:
jobs:
tox:
name: ${{ matrix.os }} / ${{ matrix.python-version }}
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ details.

### CI

[![CI:buildpackage](https://github.com/pajod/gunicorn/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/pajod/gunicorn/actions/workflows/ubuntu.yml)
[![CI:buildpackage](https://github.com/pajod/gunicorn/actions/workflows/buildpackage.yml/badge.svg)](https://github.com/pajod/gunicorn/actions/workflows/buildpackage.yml)
[![CI:CodeQL](https://github.com/pajod/gunicorn/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/pajod/gunicorn/actions/workflows/github-code-scanning/codeql)
[![CI:lint](https://github.com/pajod/gunicorn/actions/workflows/lint.yml/badge.svg)](https://github.com/pajod/gunicorn/actions/workflows/lint.yml)
[![CI:tox](https://github.com/pajod/gunicorn/actions/workflows/tox.yml/badge.svg)](https://github.com/pajod/gunicorn/actions/workflows/tox.yml)
Expand Down

0 comments on commit ad19c47

Please sign in to comment.