Make WordPress Core


Ignore:
Timestamp:
05/31/2024 03:56:31 PM (4 months ago)
Author:
desrosj
Message:

Build/Test Tools: Add input for PHP version to the performance workflow.

This adds a new input to the reusable performance testing workflow for accepting a PHP version. This allows the workflow to be reused in older branches when the PHP version currently tagged latest was not supported.

Props swissspidy, joemcgill.
See #60127, #61213.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-performance.yml

    r58165 r58269  
    1717        type: 'string'
    1818        default: '6.1.1'
     19      php-version:
     20        description: 'The PHP version to use.'
     21        required: false
     22        type: 'string'
     23        default: 'latest'
    1924      memcached:
    2025        description: 'Whether to enable memcached.'
     
    4449
    4550  LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
     51  LOCAL_PHP: ${{ inputs.php-version }}${{ 'latest' != inputs.php-version && '-fpm' }}
    4652
    4753jobs:
Note: See TracChangeset for help on using the changeset viewer.