Changeset 56440
- Timestamp:
- 08/24/2023 01:28:26 PM (13 months ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/phpunit-tests-run.yml
r56439 r56440 25 25 required: false 26 26 type: 'string' 27 default: ' 5.7'27 default: '8.0' 28 28 multisite: 29 29 description: 'Whether to run tests as multisite' … … 42 42 default: 'phpunit.xml.dist' 43 43 report: 44 description: 'Whether to report results to WordPress.org hosting tests'44 description: 'Whether to report results to WordPress.org Hosting Tests' 45 45 required: false 46 46 type: 'boolean' … … 52 52 LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }} 53 53 PHPUNIT_CONFIG: ${{ inputs.phpunit-config }} 54 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} 54 55 55 56 jobs: -
trunk/.github/workflows/phpunit-tests.yml
r56439 r56440 31 31 permissions: {} 32 32 33 env:34 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}35 LOCAL_PHP_MEMCACHED: ${{ false }}36 37 33 jobs: 38 34 # … … 41 37 test-with-mysql: 42 38 name: PHP ${{ matrix.php }} 43 uses: desrosj/wordpress-develop/.github/workflows/phpunit-tests-run.yml@expanded-db-testing-callable-workflow39 uses: WordPress/wordpress-develop/.github/workflows/phpunit-tests-run.yml@trunk 44 40 permissions: 45 41 contents: read … … 69 65 multisite: true 70 66 memcached: true 71 # Report t he results of the PHP 7.4 without memcached job.67 # Report test results to the Host Test Results. 72 68 - os: ubuntu-latest 73 69 php: '7.4' … … 92 88 test-with-mariadb: 93 89 name: PHP ${{ matrix.php }} 94 uses: desrosj/wordpress-develop/.github/workflows/phpunit-tests-run.yml@expanded-db-testing-callable-workflow90 uses: WordPress/wordpress-develop/.github/workflows/phpunit-tests-run.yml@trunk 95 91 permissions: 96 92 contents: read … … 105 101 multisite: [ false, true ] 106 102 memcached: [ false ] 107 report: [ false ]108 103 109 104 include: … … 115 110 multisite: false 116 111 memcached: true 117 report: false118 112 - os: ubuntu-latest 119 113 php: '7.4' … … 122 116 multisite: true 123 117 memcached: true 124 report: false125 118 with: 126 119 os: ${{ matrix.os }} … … 131 124 memcached: ${{ matrix.memcached }} 132 125 phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }} 133 report: ${{ matrix.report }}126 report: ${{ matrix.report || false }} 134 127 135 128 slack-notifications: … … 161 154 github.run_attempt < 2 && 162 155 ( 163 needs.test-php.result == 'cancelled' || needs.test-php.result == 'failure' 156 needs.test-with-mysql.result == 'cancelled' || needs.test-with-mysql.result == 'failure' || 157 needs.test-with-mariadb.result == 'cancelled' || needs.test-with-mariadb.result == 'failure' 164 158 ) 165 159
Note: See TracChangeset
for help on using the changeset viewer.