Skip to content

Commit 8bf2f6b

Browse files
committed
chore(dev): improve mysql handling in tasks
1 parent d04080c commit 8bf2f6b

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Install JavaScript dependencies
3636
run: npm ci
3737

38+
- name: Install Playwright CLI
39+
run: npm install -g playwright-cli
40+
3841
- name: Install Playwright browsers
3942
run: npx playwright install --with-deps chromium
4043

@@ -43,9 +46,18 @@ jobs:
4346
with:
4447
php-version: "7.4"
4548
extensions: simplexml, mysql
49+
tools: phpunit-polyfills
4650

4751
- name: Install PHP dependencies
48-
run: composer install
52+
run: composer install --prefer-dist --no-progress
4953

5054
- name: Pre-pull E2E Docker images
5155
run: docker compose -f docker-compose.ci.yml pull
56+
57+
- name: Bootstrap E2E environment
58+
env:
59+
DOCKER_FILE: docker-compose.ci.yml
60+
run: bash bin/wp-init.sh
61+
62+
- name: Install WordPress test suite
63+
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:3306

0 commit comments

Comments
 (0)