Make WordPress Core

Changeset 52233


Ignore:
Timestamp:
11/23/2021 05:40:00 PM (3 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Lower the timeout for GitHub Actions jobs so runaway or stalled processes don't risk running for the default timeout duration of six hours.

See #53363

Location:
trunk/.github/workflows
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r52220 r52233  
    5959    name: PHP coding standards
    6060    runs-on: ubuntu-latest
     61    timeout-minutes: 20
    6162    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    6263
     
    124125    name: JavaScript coding standards
    125126    runs-on: ubuntu-latest
     127    timeout-minutes: 20
    126128    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    127129    env:
  • trunk/.github/workflows/end-to-end-tests.yml

    r52183 r52233  
    4848    name: E2E Tests
    4949    runs-on: ubuntu-latest
     50    timeout-minutes: 20
    5051    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5152
  • trunk/.github/workflows/javascript-tests.yml

    r52183 r52233  
    5252    name: QUnit Tests
    5353    runs-on: ubuntu-latest
     54    timeout-minutes: 20
    5455    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5556
  • trunk/.github/workflows/php-compatibility.yml

    r52220 r52233  
    5353    name: Check PHP compatibility
    5454    runs-on: ubuntu-latest
     55    timeout-minutes: 20
    5556    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5657
  • trunk/.github/workflows/phpunit-tests.yml

    r52183 r52233  
    6161    name: ${{ matrix.php }}${{ matrix.multisite && ' multisite' || '' }}${{ matrix.split_slow && ' slow tests' || '' }}${{ matrix.memcached && ' with memcached' || '' }} on ${{ matrix.os }}
    6262    runs-on: ${{ matrix.os }}
     63    timeout-minutes: 20
    6364    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    6465    strategy:
  • trunk/.github/workflows/slack-notifications.yml

    r52183 r52233  
    6262    name: Prepare notifications
    6363    runs-on: ubuntu-latest
     64    timeout-minutes: 5
    6465    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event.workflow_run.event != 'pull_request' }}
    6566    outputs:
     
    130131    name: Failure notifications
    131132    runs-on: ubuntu-latest
     133    timeout-minutes: 5
    132134    needs: [ prepare ]
    133135    if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'failure' || inputs.calling_status == 'failure' || failure() }}
     
    145147    name: Fixed notifications
    146148    runs-on: ubuntu-latest
     149    timeout-minutes: 5
    147150    needs: [ prepare ]
    148151    if: ${{ needs.prepare.outputs.previous_conclusion == 'failure' && ( github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' || inputs.calling_status == 'success' ) && success() }}
     
    160163    name: Success notifications
    161164    runs-on: ubuntu-latest
     165    timeout-minutes: 5
    162166    needs: [ prepare ]
    163167    if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' || inputs.calling_status == 'success' && success() }}
     
    175179    name: Cancelled notifications
    176180    runs-on: ubuntu-latest
     181    timeout-minutes: 5
    177182    needs: [ prepare ]
    178183    if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'cancelled' || inputs.calling_status == 'cancelled' || cancelled() }}
  • trunk/.github/workflows/test-coverage.yml

    r52183 r52233  
    4848    name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report
    4949    runs-on: ubuntu-latest
     50    timeout-minutes: 120
    5051    if: ${{ github.repository == 'WordPress/wordpress-develop' }}
    5152    strategy:
  • trunk/.github/workflows/test-npm.yml

    r52183 r52233  
    5151    name: Test NPM on ${{ matrix.os }}
    5252    runs-on: ${{ matrix.os }}
     53    timeout-minutes: 20
    5354    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    5455    strategy:
     
    114115    name: Test NPM on MacOS
    115116    runs-on: macos-latest
     117    timeout-minutes: 20
    116118    if: ${{ github.repository == 'WordPress/wordpress-develop' }}
    117119    steps:
  • trunk/.github/workflows/test-old-branches.yml

    r52183 r52233  
    1717    name: ${{ matrix.workflow }} for ${{ matrix.branch }}
    1818    runs-on: ubuntu-latest
     19    timeout-minutes: 20
    1920    if: ${{ github.repository == 'WordPress/wordpress-develop' }}
    2021    strategy:
  • trunk/.github/workflows/welcome-new-contributors.yml

    r51535 r52233  
    99  post-welcome-message:
    1010    runs-on: ubuntu-latest
     11    timeout-minutes: 5
    1112    if: ${{ github.repository == 'WordPress/wordpress-develop' }}
    1213
Note: See TracChangeset for help on using the changeset viewer.