Changeset 59679 for trunk/.github/workflows/install-testing.yml
- Timestamp:
- 01/22/2025 03:13:21 PM (15 months ago)
- File:
-
- 1 edited
-
trunk/.github/workflows/install-testing.yml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/install-testing.yml
r59673 r59679 120 120 php-version: '${{ matrix.php }}' 121 121 coverage: none 122 tools: wp-cli${{ contains( fromJSON('["5.4", "5.5"]'), matrix.php ) && ':2.4.0' || '' }}122 tools: ${{ contains( fromJSON('["5.4", "5.5"]'), matrix.php ) && 'wp-cli:2.4.0' || 'wp-cli' }} 123 123 124 124 - name: Download WordPress 125 run: wp core download ${{ inputs.wp-version && format( '--version={0}', inputs.wp-version ) || '--version=nightly' }} 125 run: wp core download --version="${WP_VERSION}" 126 env: 127 WP_VERSION: ${{ inputs.wp-version || 'nightly' }} 126 128 127 129 - name: Create wp-config.php file 128 run: wp config create --dbname=test_db --dbuser=root --dbpass=root --dbhost=127.0.0.1:${{ job.services.database.ports['3306'] }} 130 run: wp config create --dbname=test_db --dbuser=root --dbpass=root --dbhost="127.0.0.1:${DB_PORT}" 131 env: 132 DB_PORT: ${{ job.services.database.ports['3306'] }} 129 133 130 134 - name: Install WordPress 131 run: wp core ${{ matrix.multisite && 'multisite- ' || '' }}install--url=http://localhost/ --title="Upgrade Test" --admin_user=admin --admin_password=password --admin_email=me@example.org --skip-email135 run: wp core ${{ matrix.multisite && 'multisite-install' || 'install' }} --url=http://localhost/ --title="Upgrade Test" --admin_user=admin --admin_password=password --admin_email=me@example.org --skip-email 132 136 133 137 slack-notifications: … … 176 180 ref: 'trunk', 177 181 inputs: { 178 run_id: '${{ github.run_id }}'182 run_id: context.runId, 179 183 } 180 184 });
Note: See TracChangeset
for help on using the changeset viewer.