Changeset 58097 for trunk/.github/workflows
- Timestamp:
- 05/04/2024 07:23:31 PM (23 months ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 2 edited
-
phpunit-tests-run.yml (modified) (3 diffs)
-
phpunit-tests.yml (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/phpunit-tests-run.yml
r57918 r58097 41 41 type: 'string' 42 42 default: 'phpunit.xml.dist' 43 tests-domain: 44 description: 'The domain to use for the tests' 45 required: false 46 type: 'string' 47 default: 'example.org' 43 48 report: 44 49 description: 'Whether to report results to WordPress.org Hosting Tests' … … 51 56 LOCAL_DB_VERSION: ${{ inputs.db-version }} 52 57 LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }} 58 LOCAL_WP_TESTS_DOMAIN: ${{ inputs.tests-domain }} 53 59 PHPUNIT_CONFIG: ${{ inputs.phpunit-config }} 54 60 PUPPETEER_SKIP_DOWNLOAD: ${{ true }} … … 75 81 # - Submit the test results to the WordPress.org host test results. 76 82 phpunit-tests: 77 name: PHP ${{ inputs.php }} / ${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} 83 name: PHP ${{ inputs.php }} / ${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} ${{ 'example.org' != inputs.tests-domain && inputs.tests-domain || '' }} 78 84 runs-on: ${{ inputs.os }} 79 85 timeout-minutes: 20 -
trunk/.github/workflows/phpunit-tests.yml
r57985 r58097 49 49 db-type: [ 'mysql' ] 50 50 db-version: [ '5.7', '8.0', '8.1', '8.2', '8.3' ] 51 tests-domain: [ 'example.org' ] 51 52 multisite: [ false, true ] 52 53 memcached: [ false ] … … 58 59 db-type: 'mysql' 59 60 db-version: '5.7' 61 tests-domain: 'example.org' 60 62 multisite: false 61 63 memcached: true … … 64 66 db-type: 'mysql' 65 67 db-version: '5.7' 68 tests-domain: 'example.org' 66 69 multisite: true 67 70 memcached: true 71 # Include jobs with a port on the test domain for both single and multisite. 72 - os: ubuntu-latest 73 php: '7.4' 74 db-type: 'mysql' 75 db-version: '5.7' 76 tests-domain: 'example.org:8889' 77 multisite: false 78 memcached: false 79 - os: ubuntu-latest 80 php: '7.4' 81 db-type: 'mysql' 82 db-version: '5.7' 83 tests-domain: 'example.org:8889' 84 multisite: true 85 memcached: false 68 86 # Report test results to the Host Test Results. 69 87 - os: ubuntu-latest … … 71 89 db-type: 'mysql' 72 90 db-version: '5.7' 91 tests-domain: 'example.org' 73 92 multisite: false 74 93 memcached: false … … 82 101 memcached: ${{ matrix.memcached }} 83 102 phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }} 103 tests-domain: ${{ matrix.tests-domain }} 84 104 report: ${{ matrix.report || false }} 85 105
Note: See TracChangeset
for help on using the changeset viewer.